method
add_negative_message_expectation
1.1.4 -
Show latest stable
- Class:
Spec::Mocks::Proxy
add_negative_message_expectation(expected_from, sym, &block)public
No documentation available.
# File lib/spec/mocks/proxy.rb, line 30
def add_negative_message_expectation(expected_from, sym, &block)
__add sym
@expectations << NegativeMessageExpectation.new(@error_generator, @expectation_ordering, expected_from, sym, block_given? ? block : nil)
@expectations.last
end