[rspec-users] Stubbing out required associated models

Scott Taylor mailing_lists at railsnewbie.com
Wed Nov 14 16:27:11 EST 2007

On Nov 14, 2007, at 4:08 PM, sinclair bain wrote:

> Matthew,
> If your intent is to test the behaviour of your model(s), then yes  
> mocking and
> stubbing are  a good [_the_] way to go.

Except, of course, that you are no longer really validating the  
associated models - only your mocks.


More information about the rspec-users mailing list