Class: RSpec::Mocks::TestDoubleProxy
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/proxy.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Proxy
Proxy::DEFAULT_MESSAGE_EXPECTATION_OPTS
Instance Attribute Summary
Attributes inherited from Proxy
Instance Method Summary collapse
Methods inherited from Proxy
#add_message_expectation, #add_simple_expectation, #add_simple_stub, #add_stub, #as_null_object, #build_expectation, #check_for_unexpected_arguments, #ensure_can_be_proxied!, #ensure_implemented, #has_negative_expectation?, #initialize, #message_received, #messages_arg_list, #method_double_if_exists_for_message, #null_object?, #original_method_handle_for, prepended_modules_of, #prepended_modules_of_singleton_class, #raise_missing_default_stub_error, #raise_unexpected_message_error, #received_message?, #record_message_received, #remove_stub, #remove_stub_if_present, #replay_received_message_on, #verify, #visibility_for
Constructor Details
This class inherits a constructor from RSpec::Mocks::Proxy
Instance Method Details
#reset ⇒ Object
312 313 314 315 316 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/proxy.rb', line 312 def reset @method_doubles.clear object.__disallow_further_usage! super end |