aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/sandbox_spec.rb
diff options
context:
space:
mode:
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