summaryrefslogtreecommitdiff
path: root/spec/support/matchers.rb
diff options
context:
space:
mode:
authorErick Sasse <esasse@gmail.com>2015-07-23 22:11:44 -0300
committerErick Sasse <esasse@gmail.com>2015-07-23 22:11:44 -0300
commit7adb0a487f3cf1fd9a573fa1e15ec2e025dee893 (patch)
tree641ecbf98e22fbc6e8a92d1f6f117bf05a2bb17f /spec/support/matchers.rb
parent4d6c32be29d745fadef04380758b6f68817fbb33 (diff)
downloadbundler-7adb0a487f3cf1fd9a573fa1e15ec2e025dee893.tar.gz
Fix Style/Alias
Diffstat (limited to 'spec/support/matchers.rb')
-rw-r--r--spec/support/matchers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index 5d5e4a0572..d41ac964f5 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -40,7 +40,7 @@ module Spec
end
end
- alias should_be_available should_be_installed
+ alias_method :should_be_available, :should_be_installed
def should_not_be_installed(*names)
opts = names.last.is_a?(Hash) ? names.pop : {}