Hands up all the people in here who feel stupid
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.
Hands up all the people in here who feel stupid
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.
On Wed, Nov 26, 2008 at 7:48 AM, Mikel L. [email protected]
wrote:
Hands up all the people in here who feel stupid
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.
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
Cheers,
David
On Thu, Nov 27, 2008 at 12:54 AM, David C.
[email protected]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
Mikel
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs