class RSpec::Mocks::AnyInstance::NegativeExpectationChain

@api private

Public Class Methods

new(*args, &block) click to toggle source
# File lib/rspec/mocks/any_instance/expectation_chain.rb, line 40
def initialize(*args, &block)
  super(:should_not_receive, *args, &block)
end

Private Instance Methods

invocation_order() click to toggle source
# File lib/rspec/mocks/any_instance/expectation_chain.rb, line 46
def invocation_order
  @invocation_order ||= {
    :should_not_receive => [nil],
    :with => [:should_receive],
    :and_return => [:with, :should_receive],
    :and_raise => [:with, :should_receive]
  }
end