aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/tap_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/tap_spec.rb')
-rw-r--r--Library/Homebrew/test/tap_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/tap_spec.rb b/Library/Homebrew/test/tap_spec.rb
index 50e4522af..27b5e0c4b 100644
--- a/Library/Homebrew/test/tap_spec.rb
+++ b/Library/Homebrew/test/tap_spec.rb
@@ -1,9 +1,9 @@
-RSpec::Matchers.alias_matcher :have_formula_file, :be_formula_file
-RSpec::Matchers.alias_matcher :have_custom_remote, :be_custom_remote
-
describe Tap do
include FileUtils
+ alias_matcher :have_formula_file, :be_formula_file
+ alias_matcher :have_custom_remote, :be_custom_remote
+
subject { described_class.new("Homebrew", "foo") }
let(:path) { Tap::TAP_DIRECTORY/"homebrew/homebrew-foo" }
let(:formula_file) { path/"Formula/foo.rb" }