method

record_almost_matching_expectation

Importance_0
1.3.0 - Show latest stable - 0 notes - Class: Spec::Mocks::Proxy
record_almost_matching_expectation(expectation, sym, *args, &block) public

No documentation

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

Hide source
# File lib/spec/mocks/proxy.rb, line 130
      def record_almost_matching_expectation(expectation, sym, *args, &block)
        expectation.advise(args, block)
        unless (null_object? or has_negative_expectation?(sym))
          raise_unexpected_message_args_error(expectation, *args)
        end
      end
Register or log in to add new notes.