Class: RSpec::Mocks::AnyInstance::StubChainChain Private
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
|
|
|
Instance Chain:
|
|
| Inherits: |
RSpec::Mocks::AnyInstance::StubChain
|
| Defined in: | rspec-mocks/lib/rspec/mocks/any_instance/stub_chain_chain.rb |
Constant Summary
StubChain - Inherited
Class Method Summary
Instance Attribute Summary
Instance Method Summary
- #create_message_expectation_on(instance) private Internal use only
- #invocation_order private Internal use only
StubChain - Inherited
Chain - Inherited
| #constrained_to_any_of?, #expectation_fulfilled!, #matches_args?, #never, #playback!, #with, #last_message, #messages, #record |
Chain::Customizations - Included
| #and_call_original | Records the |
| #and_raise | Records the |
| #and_return | Records the |
| #and_throw | Records the |
| #and_wrap_original | Records the |
| #and_yield | Records the |
| #at_least | Records the |
| #at_most | Records the |
| #exactly | Records the |
| #never | Records the |
| #once | Records the |
| #thrice | Records the |
| #time | Records the |
| #times | Records the |
| #twice | Records the |
| #with | Records the |
Instance Method Details
#create_message_expectation_on(instance) (private)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/any_instance/stub_chain_chain.rb', line 13
def (instance) ::RSpec::Mocks::StubChain.stub_chain_on(instance, *@expectation_args, &@expectation_block) end
#invocation_order (private)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/any_instance/stub_chain_chain.rb', line 17
def invocation_order EmptyInvocationOrder end