aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cmd/link_spec.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-07-29 21:42:10 +0200
committerGitHub2017-07-29 21:42:10 +0200
commit73084096842b9ea6fb0b2feaefbb688eb59c9db0 (patch)
treedfb44525f5ae6233816ec97a4c868ea522b2358c /Library/Homebrew/test/cmd/link_spec.rb
parente48a6736b8db7967b1f849975432ddbca6e8f9c0 (diff)
parent2ad3a87045246f89aa267251315d660f663c42f2 (diff)
downloadbrew-73084096842b9ea6fb0b2feaefbb688eb59c9db0.tar.bz2
Merge pull request #2967 from reitermarkus/shutdown
Silence all specs by default.
Diffstat (limited to 'Library/Homebrew/test/cmd/link_spec.rb')
-rw-r--r--Library/Homebrew/test/cmd/link_spec.rb16
1 files changed, 5 insertions, 11 deletions
diff --git a/Library/Homebrew/test/cmd/link_spec.rb b/Library/Homebrew/test/cmd/link_spec.rb
index 59ab86cc4..78942b7a8 100644
--- a/Library/Homebrew/test/cmd/link_spec.rb
+++ b/Library/Homebrew/test/cmd/link_spec.rb
@@ -9,19 +9,15 @@ describe "brew link", :integration_test do
it "does not fail if the given Formula is already linked" do
setup_test_formula "testball1"
- shutup do
- expect { brew "install", "testball1" }.to be_a_success
- expect { brew "link", "testball1" }.to be_a_success
- end
+ expect { brew "install", "testball1" }.to be_a_success
+ expect { brew "link", "testball1" }.to be_a_success
end
it "links a given Formula" do
setup_test_formula "testball1"
- shutup do
- expect { brew "install", "testball1" }.to be_a_success
- expect { brew "unlink", "testball1" }.to be_a_success
- end
+ expect { brew "install", "testball1" }.to be_a_success
+ expect { brew "unlink", "testball1" }.to be_a_success
expect { brew "link", "--dry-run", "testball1" }
.to output(/Would link/).to_stdout
@@ -44,9 +40,7 @@ describe "brew link", :integration_test do
keg_only "just because"
EOS
- shutup do
- expect { brew "install", "testball1" }.to be_a_success
- end
+ expect { brew "install", "testball1" }.to be_a_success
expect { brew "link", "testball1", "SHELL" => "/bin/zsh" }
.to output(/testball1 is keg-only/).to_stderr