home_spec: use different test formula.
Instead of `testball` use a formula named `testballhome` to avoid this clashing with any other formula named testball.
This commit is contained in:
parent
5b041528af
commit
49d2d7b94d
@ -7,10 +7,10 @@ describe "brew home", :integration_test do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "opens the homepage for a given Formula" do
|
it "opens the homepage for a given Formula" do
|
||||||
setup_test_formula "testball"
|
setup_test_formula "testballhome"
|
||||||
|
|
||||||
expect { brew "home", "testball", "HOMEBREW_BROWSER" => "echo" }
|
expect { brew "home", "testballhome", "HOMEBREW_BROWSER" => "echo" }
|
||||||
.to output("#{Formula["testball"].homepage}\n").to_stdout
|
.to output("#{Formula["testballhome"].homepage}\n").to_stdout
|
||||||
.and not_to_output.to_stderr
|
.and not_to_output.to_stderr
|
||||||
.and be_a_success
|
.and be_a_success
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user