method
record_almost_matching_expectation
record_almost_matching_expectation(expectation, sym, *args, &block)
public
Hide source
# File lib/spec/mocks/proxy.rb, line 132 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