Class: RSpec::Mocks::AnyInstance::ExpectationChain Private
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
RSpec::Mocks::AnyInstance::PositiveExpectationChain
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Chain
|
|
Instance Chain:
self,
Chain ,
Chain::Customizations
|
|
Inherits: |
RSpec::Mocks::AnyInstance::Chain
|
Defined in: | rspec-mocks/lib/rspec/mocks/any_instance/expectation_chain.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
- #verify_invocation_order(_rspec_method_name, *_args, &_block) private Internal use only
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_call_original` message for playback against an instance that invokes a method stubbed or mocked using |
#and_raise | Records the ‘and_raise` message for playback against an instance that invokes a method stubbed or mocked using |
#and_return | Records the ‘and_return` message for playback against an instance that invokes a method stubbed or mocked using |
#and_throw | Records the ‘and_throw` message for playback against an instance that invokes a method stubbed or mocked using |
#and_wrap_original | Records the ‘and_wrap_original` message for playback against an instance that invokes a method stubbed or mocked using |
#and_yield | Records the ‘and_yield` message for playback against an instance that invokes a method stubbed or mocked using |
#at_least | Records the ‘at_least` message for playback against an instance that invokes a method stubbed or mocked using |
#at_most | Records the ‘at_most` message for playback against an instance that invokes a method stubbed or mocked using |
#exactly | Records the ‘exactly` message for playback against an instance that invokes a method stubbed or mocked using |
#never | Records the ‘never` message for playback against an instance that invokes a method stubbed or mocked using |
#once | Records the ‘once` message for playback against an instance that invokes a method stubbed or mocked using |
#thrice | Records the ‘thrice` message for playback against an instance that invokes a method stubbed or mocked using |
#time | Records the ‘time` message for playback against an instance that invokes a method stubbed or mocked using |
#times | Records the ‘times` message for playback against an instance that invokes a method stubbed or mocked using |
#twice | Records the ‘twice` message for playback against an instance that invokes a method stubbed or mocked using |
#with | Records the ‘with` message for playback against an instance that invokes a method stubbed or mocked using |
Instance Attribute Details
#expectation_fulfilled? ⇒ Boolean
(readonly)
# File 'rspec-mocks/lib/rspec/mocks/any_instance/expectation_chain.rb', line 6
def expectation_fulfilled? @expectation_fulfilled || constrained_to_any_of?(:never) end
Instance Method Details
#verify_invocation_order(_rspec_method_name, *_args, &_block) (private)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/any_instance/expectation_chain.rb', line 17
def verify_invocation_order(_rspec_method_name, *_args, &_block) end