This repository was archived by the owner on Nov 15, 2021. It is now read-only.

Description
(rdb:1) backtrace
--> #0 RSpec::Mocks::MethodDouble.add_stub(error_generator#RSpec::Mocks::ErrorGe...,...)
at line /Users/betelgeuse/.rvm/gems/ruby-1.9.3-p194/gems/rspec-mocks-2.10.1/lib/rspec/mocks/method_double.rb:155
#1 RSpec::Mocks::Proxy.add_stub(location#String, method_name#Symbol)
at line /Users/betelgeuse/.rvm/gems/ruby-1.9.3-p194/gems/rspec-mocks-2.10.1/lib/rspec/mocks/proxy.rb:0
#2 RSpec::Mocks::Methods.stub(message_or_hash#Symbol)
at line /Users/betelgeuse/.rvm/gems/ruby-1.9.3-p194/gems/rspec-mocks-2.10.1/lib/rspec/mocks/methods.rb:35
Here proxy.rb is really calling from line 78 so the line number in the backtrace is wrong.