class RSpec::Mocks::AnyInstance::ExpectChainChain
@private
Public Class Methods
Source
# File lib/rspec/mocks/any_instance/expect_chain_chain.rb, line 6 def initialize(*args) super @expectation_fulfilled = false end
Calls superclass method
Public Instance Methods
Source
# File lib/rspec/mocks/any_instance/expect_chain_chain.rb, line 11 def expectation_fulfilled? @expectation_fulfilled end
Source
# File lib/rspec/mocks/any_instance/expect_chain_chain.rb, line 15 def playback!(instance) super.tap { @expectation_fulfilled = true } end
Calls superclass method
Private Instance Methods
Source
# File lib/rspec/mocks/any_instance/expect_chain_chain.rb, line 21 def create_message_expectation_on(instance) ::RSpec::Mocks::ExpectChain.expect_chain_on(instance, *@expectation_args, &@expectation_block) end
Source
# File lib/rspec/mocks/any_instance/expect_chain_chain.rb, line 25 def invocation_order EmptyInvocationOrder end