@private
# File lib/rspec/mocks/any_instance/chain.rb, line 120 120: def invocation_order 121: @invocation_order ||= { 122: :stub => [nil], 123: :with => [:stub], 124: :and_return => [:with, :stub], 125: :and_raise => [:with, :stub], 126: :and_yield => [:with, :stub] 127: } 128: end
# File lib/rspec/mocks/any_instance/chain.rb, line 130 130: def verify_invocation_order(rspec_method_name, *args, &block) 131: unless invocation_order[rspec_method_name].include?(last_message) 132: raise(NoMethodError, "Undefined method #{rspec_method_name}") 133: end 134: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.