module RSpec::Mocks::ObjectVerifyingDoubleMethods
An awkward module necessary because we cannot otherwise have ClassVerifyingDouble inherit from Module and still share these methods.
@private
Public Instance Methods
as_stubbed_const(options={})
click to toggle source
# File lib/rspec/mocks/verifying_double.rb, line 97 def as_stubbed_const(options={}) ConstantMutator.stub(@doubled_module.const_to_replace, self, options) self end
Private Instance Methods
__build_mock_proxy(order_group)
click to toggle source
# File lib/rspec/mocks/verifying_double.rb, line 104 def __build_mock_proxy(order_group) VerifyingProxy.new(self, order_group, @doubled_module, ObjectMethodReference ) end