[rspec-users] Mocks and Refactoring - doing it wrong?

Pat Maddox pergesu at gmail.com
Thu Oct 30 16:05:53 EDT 2008

Scott Taylor <mailing_lists at railsnewbie.com> writes:

> Actually, I take back my previous comment.  Where would you stub a
> method on an object where the method *isn't* even loaded by further
> (or previous) stubbing?
> Any concrete examples come to mind?

How about if you haven't implemented that object yet?


More information about the rspec-users mailing list