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:
Mike McQuaid 2017-09-05 17:44:27 +01:00
parent 5b041528af
commit 49d2d7b94d

View File

@ -7,10 +7,10 @@ describe "brew home", :integration_test do
end
it "opens the homepage for a given Formula" do
setup_test_formula "testball"
setup_test_formula "testballhome"
expect { brew "home", "testball", "HOMEBREW_BROWSER" => "echo" }
.to output("#{Formula["testball"].homepage}\n").to_stdout
expect { brew "home", "testballhome", "HOMEBREW_BROWSER" => "echo" }
.to output("#{Formula["testballhome"].homepage}\n").to_stdout
.and not_to_output.to_stderr
.and be_a_success
end