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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/sandbox_spec.rb b/Library/Homebrew/test/sandbox_spec.rb
index 0d349f6eb..eafec4dd4 100644
--- a/Library/Homebrew/test/sandbox_spec.rb
+++ b/Library/Homebrew/test/sandbox_spec.rb
@@ -1,8 +1,8 @@
require "sandbox"
-RSpec::Matchers.define_negated_matcher :not_matching, :matching
-
describe Sandbox do
+ define_negated_matcher :not_matching, :matching
+
let(:dir) { mktmpdir }
let(:file) { dir/"foo" }