method

add_message_expectation

Importance_0
add_message_expectation(expected_from, sym, opts={}, &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 40
      def add_message_expectation(expected_from, sym, opts={}, &block)        
        __add sym
        warn_if_nil_class sym
        @expectations << build_expectation(expected_from, sym, opts, &block)
        @expectations.last
      end
Register or log in to add new notes.