[rspec-users] How to mock an association
edvard at majakari.net
Mon Feb 11 09:26:13 EST 2008
> Obvious 'rails mocking associations' seemed to work for me, unless I
...make that '...Googling for ...'. Duh.
"One day, when he was naughty, Mr Bunnsy looked over the hedge into
Farmer Fred's field and it was full of fresh green lettuces. Mr
Bunnsy, however, was not full of lettuces. This did not seem fair."
-- Terry Pratchett, Mr. Bunnsy Has An Adventure
More information about the rspec-users