brew/Library/Homebrew/test/dev-cmd/tap-new_spec.rb

11 lines
348 B
Ruby
Raw Normal View History

2017-02-23 06:04:40 +01:00
describe "brew tap-new", :integration_test do
it "initializes a new Tap with a ReadMe file" do
expect { brew "tap-new", "homebrew/foo", "--verbose" }
.to be_a_success
.and output(%r{homebrew/foo}).to_stdout
2017-02-23 06:04:40 +01:00
.and not_to_output.to_stderr
expect(HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-foo/README.md").to exist
end
end