Class: RSpec::Mocks::Proxy

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/mocks-call-through.rb

Instance Method Summary collapse

Instance Method Details

#add_live_stub(location, method_name, opts = {}, &implementation) ⇒ Object



16
17
18
# File 'lib/rspec/mocks-call-through.rb', line 16

def add_live_stub(location, method_name, opts={}, &implementation)
  method_double[method_name].add_live_stub @error_generator, @expectation_ordering, location, opts, &implementation
end