Thanks. I was hoping someone else who was using observers and rspec
had run into this before and had a solution, as I always prefer the
lazy way when possible ;). I'll take a look at the rspec code base
and see if I can figure it out well enough to submit a patch.
Doug
>
> On 7/31/07
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
In most of my tests I'd like to be able to stub out the observers for my
models, but I'm not sure the best way to do this. I doesn't look like there
is a way to stub all instance methods, and I don't seem to be able to stub
early enough to stub out the observer as it's instantiated. I can think o