[rspec-users] Mock and Stub objects

David Chelimsky dchelimsky at gmail.com
Wed Jun 10 13:56:35 EDT 2009

On Wed, Jun 10, 2009 at 5:55 AM, Amit Kulkarni<lists at ruby-forum.com> wrote:
> Hello,
>      I had seen many controller spec using mock and stub objects.
>      I had written controller spec earlier without these objects.
>      In the book it is mention about mock and stub objects.but i am
> still not getting the reason behind it.

Did you read the chapter on Mock Objects?

>      Can somebody tell me what are these and why are we using it
> especially in controllers?

More information about the rspec-users mailing list