[rspec-users] SOLVED Observer not calling inside a spec

Mikel Lindsaar raasdnil at gmail.com
Wed Nov 26 09:05:56 EST 2008

On Thu, Nov 27, 2008 at 12:54 AM, David Chelimsky <dchelimsky at gmail.com>wrote:

> Ouch!
> Good lesson though. Keep your test data close, and your mocks and stubs
> closer.
> Thanks for reporting and congrats on being able to move on :)

Yeah... finding it involved walking through the entire call cycle from
AR/callbacks.rb through and then doing a p find_matching_method_stub(sym,
*args) from within spec/mocks/proxy.rb...

I almost fell off my chair when it didn't come back with nil :)


Rails, RSpec and Life blog....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081127/2283e9d4/attachment.html>

More information about the rspec-users mailing list