[rspec-users] Stubbing Observers in rails?

Doug Cole dougcole at gmail.com
Tue Jul 31 13:10:20 EDT 2007

If I'm not mistaken those stub them out always - I'd like to be able to stub
them out for most tests, but I would like to have them around when I want to
write tests for the observers themselves!  I imagine this is a fairly common
use case for Observers and testing.

>If you're looking to stub all instances, why not use (what) Rails (calls)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070731/8dad3d6a/attachment.html 

More information about the rspec-users mailing list