aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cmd/install_spec.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-07-29 19:55:05 +0200
committerMarkus Reiter2017-07-29 20:25:37 +0200
commit2ad3a87045246f89aa267251315d660f663c42f2 (patch)
treedfb44525f5ae6233816ec97a4c868ea522b2358c /Library/Homebrew/test/cmd/install_spec.rb
parente48a6736b8db7967b1f849975432ddbca6e8f9c0 (diff)
downloadbrew-2ad3a87045246f89aa267251315d660f663c42f2.tar.bz2
Silence all specs by default.
Diffstat (limited to 'Library/Homebrew/test/cmd/install_spec.rb')
-rw-r--r--Library/Homebrew/test/cmd/install_spec.rb18
1 files changed, 7 insertions, 11 deletions
diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb
index 6fff44131..b6030f26a 100644
--- a/Library/Homebrew/test/cmd/install_spec.rb
+++ b/Library/Homebrew/test/cmd/install_spec.rb
@@ -101,9 +101,7 @@ describe "brew install", :integration_test do
.and not_to_output.to_stderr
.and be_a_success
- shutup do
- expect { brew "switch", "testball1", "3.0" }.to be_a_success
- end
+ expect { brew "switch", "testball1", "3.0" }.to be_a_success
expect { brew "install", "testball1" }
.to output(/2.0 is already installed/).to_stderr
@@ -156,14 +154,12 @@ describe "brew install", :integration_test do
repo_path.join("bin").mkpath
repo_path.cd do
- shutup do
- system "git", "init"
- system "git", "remote", "add", "origin", "https://github.com/Homebrew/homebrew-foo"
- FileUtils.touch "bin/something.bin"
- FileUtils.touch "README"
- system "git", "add", "--all"
- system "git", "commit", "-m", "Initial repo commit"
- end
+ system "git", "init"
+ system "git", "remote", "add", "origin", "https://github.com/Homebrew/homebrew-foo"
+ FileUtils.touch "bin/something.bin"
+ FileUtils.touch "README"
+ system "git", "add", "--all"
+ system "git", "commit", "-m", "Initial repo commit"
end
setup_test_formula "testball1", <<-EOS.undent