aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/tab_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/tab_spec.rb')
-rw-r--r--Library/Homebrew/test/tab_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/tab_spec.rb b/Library/Homebrew/test/tab_spec.rb
index 1b0836c93..93ae42ce4 100644
--- a/Library/Homebrew/test/tab_spec.rb
+++ b/Library/Homebrew/test/tab_spec.rb
@@ -1,9 +1,9 @@
require "tab"
require "formula"
-RSpec::Matchers.alias_matcher :be_built_with, :be_with
-
describe Tab do
+ alias_matcher :be_built_with, :be_with
+
matcher :be_poured_from_bottle do
match do |actual|
actual.poured_from_bottle == true