Class: RSpec::Mocks::ClassVerifyingDouble

Inherits:
Module show all
Includes:
ObjectVerifyingDoubleMethods
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/verifying_double.rb

Overview

Effectively the same as an ObjectVerifyingDouble (since a class is a type of object), except with Module in the inheritance chain so that transferring nested constants to work.

Constant Summary

Constants inherited from Module

Module::DELEGATION_RESERVED_KEYWORDS, Module::DELEGATION_RESERVED_METHOD_NAMES, Module::RUBY_RESERVED_KEYWORDS

Method Summary

Methods included from ObjectVerifyingDoubleMethods

#as_stubbed_const

Methods included from VerifyingDouble

#__send__, #initialize, #method_missing, #respond_to?, #send

Methods included from TestDouble

#==, #__build_mock_proxy_unless_expired, #__disallow_further_usage!, #as_null_object, #freeze, #initialize, #inspect, #null_object?, #respond_to?, #to_s

Methods inherited from Module

#alias_attribute, #anonymous?, #append_features, #as_json, #attr_internal_accessor, #attr_internal_reader, #attr_internal_writer, #blankslate_original_append_features, #delegate, #delegate_missing_to, #deprecate, #infect_an_assertion, #mattr_accessor, #mattr_reader, #mattr_writer, #method_visibility, #module_parent, #module_parent_name, #module_parents, #rake_extension, #redefine_method, #redefine_singleton_method, #remove_possible_method, #remove_possible_singleton_method, #silence_redefinition_of_method, #thread_mattr_accessor, #thread_mattr_reader, #thread_mattr_writer

Methods included from Module::Concerning

#concern, #concerning

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RSpec::Mocks::VerifyingDouble