lib/spec/rails/matchers/ar_be_valid.rb in dchelimsky-rspec-rails-1.1.99.5 vs lib/spec/rails/matchers/ar_be_valid.rb in dchelimsky-rspec-rails-1.1.99.6
- old
+ new
@@ -4,10 +4,10 @@
class ArBeValid #:nodoc:
def initialize
@matcher = Spec::Matchers::Be.new :be_valid
- @matcher.send :handling_predicate!
+ @matcher.__send__ :handling_predicate!
end
def matches?(actual)
@actual = actual
@matcher.matches? @actual