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

David Chelimsky dchelimsky at gmail.com
Wed Nov 26 08:54:50 EST 2008

On Wed, Nov 26, 2008 at 7:48 AM, Mikel Lindsaar <raasdnil at gmail.com> wrote:
> Hands up all the people in here who feel stupid
> <hand goes up>
> Thanks.
> Problem was that I had an errant stub!(:notify) in a factory method.  That
> factory method was only called on certain classes.  Those classes were the
> ones failing.
> My bad.


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 :)


More information about the rspec-users mailing list