aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/requirement_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/requirement_spec.rb')
-rw-r--r--Library/Homebrew/test/requirement_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/requirement_spec.rb b/Library/Homebrew/test/requirement_spec.rb
index 959041cf4..71372aa69 100644
--- a/Library/Homebrew/test/requirement_spec.rb
+++ b/Library/Homebrew/test/requirement_spec.rb
@@ -1,10 +1,10 @@
require "extend/ENV"
require "requirement"
-RSpec::Matchers.alias_matcher :have_a_default_formula, :be_a_default_formula
-RSpec::Matchers.alias_matcher :be_a_build_requirement, :be_a_build
-
describe Requirement do
+ alias_matcher :have_a_default_formula, :be_a_default_formula
+ alias_matcher :be_a_build_requirement, :be_a_build
+
subject { klass.new }
let(:klass) { Class.new(described_class) }