method
record_almost_matching_expectation
1.3.0 -
Show latest stable
-
0 notes -
Class: Spec::Mocks::Proxy
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
record_almost_matching_expectation(expectation, sym, *args, &block)
public
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