[rspec-users] Mock and Stub objects

Amit Kulkarni lists at ruby-forum.com
Wed Jun 10 06:55:48 EDT 2009


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.

      Can somebody tell me what are these and why are we using it
especially in controllers?
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list