Merge pull request #3127 from MikeMcQuaid/home_spec_testball

home_spec: use different test formula.
This commit is contained in:
Mike McQuaid 2017-09-08 09:04:53 +01:00 committed by GitHub
commit 2ed20c1cf3

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