method

__delegate_method_missing_to_target

Importance_0
1.1.4 - Show latest stable - 0 notes - Class: Spec::Matchers::NegativeOperatorMatcher
__delegate_method_missing_to_target(operator, expected) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/matchers/operator_matcher.rb, line 64
      def __delegate_method_missing_to_target(operator, expected)
        ::Spec::Matchers.generated_description = "should not #{operator} #{expected.inspect}"
        return unless @target.send(operator, expected)
        return fail_with_message("expected not: #{operator} #{expected.inspect},\n         got: #{operator.gsub(/./, ' ')} #{@target.inspect}")
      end
Register or log in to add new notes.