aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/sandbox_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/sandbox_spec.rb
parente48a6736b8db7967b1f849975432ddbca6e8f9c0 (diff)
downloadbrew-2ad3a87045246f89aa267251315d660f663c42f2.tar.bz2
Silence all specs by default.
Diffstat (limited to 'Library/Homebrew/test/sandbox_spec.rb')
-rw-r--r--Library/Homebrew/test/sandbox_spec.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Homebrew/test/sandbox_spec.rb b/Library/Homebrew/test/sandbox_spec.rb
index eafec4dd4..10414f75b 100644
--- a/Library/Homebrew/test/sandbox_spec.rb
+++ b/Library/Homebrew/test/sandbox_spec.rb
@@ -37,11 +37,9 @@ describe Sandbox do
describe "#exec" do
it "fails when writing to file not specified with ##allow_write" do
- shutup do
- expect {
- subject.exec "touch", file
- }.to raise_error(ErrorDuringExecution)
- end
+ expect {
+ subject.exec "touch", file
+ }.to raise_error(ErrorDuringExecution)
expect(file).not_to exist
end