[rspec-users] Stubbing Observers in rails?
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...
More information about the rspec-users