diff options
| author | Mike McQuaid | 2017-09-05 17:44:27 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-09-07 19:18:03 +0100 |
| commit | 49d2d7b94d85dd150956ea14d66a34870d2f70fd (patch) | |
| tree | 03209f5701dbd89b17853652f136eedf70cc72f2 /Library/Homebrew/test | |
| parent | 5b041528aff269a003e9be786d52466002a23b2a (diff) | |
| download | brew-49d2d7b94d85dd150956ea14d66a34870d2f70fd.tar.bz2 | |
home_spec: use different test formula.
Instead of `testball` use a formula named `testballhome` to avoid this
clashing with any other formula named testball.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/cmd/home_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/cmd/home_spec.rb b/Library/Homebrew/test/cmd/home_spec.rb index 5a4070492..cf9453af2 100644 --- a/Library/Homebrew/test/cmd/home_spec.rb +++ b/Library/Homebrew/test/cmd/home_spec.rb @@ -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 |
