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

David Chelimsky dchelimsky at gmail.com
Thu Oct 30 16:18:07 EDT 2008


On Thu, Oct 30, 2008 at 3:05 PM, Pat Maddox <pergesu at gmail.com> wrote:
> 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?

+1000

>
> Pat
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list