Parent

Class/Module Index [+]

Quicksearch

RSpec::Mocks::InstanceVerifyingDouble

A mock providing a custom proxy that can verify the validity of any method stubs or expectations against the public instance methods of the given class.

@private

Public Class Methods

new(doubled_module, *args) click to toggle source
# File lib/rspec/mocks/verifying_double.rb, line 66
def initialize(doubled_module, *args)
  @doubled_module = doubled_module

  super(
    "#{doubled_module.description} (instance)",
    *args
  )
end

Public Instance Methods

__build_mock_proxy(order_group) click to toggle source
# File lib/rspec/mocks/verifying_double.rb, line 75
def __build_mock_proxy(order_group)
  VerifyingProxy.new(self, order_group, @name,
    @doubled_module,
    InstanceMethodReference
  )
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.