[rspec-users] How are people speccing Rails 3 ActiveRecord queries?

doug livesey biot023 at gmail.com
Sat Jul 17 11:37:46 EDT 2010


Hi -- how are people speccing Rails 3 ActiveRecord queries?
At the minute I'm chaining a load of should_receive calls on mock relation
objects, but can't help thinking that there must be a more elegant way of
going about it.
Is there a best practice for this, yet?
Cheers,
   Doug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100717/d807e31b/attachment.html>


More information about the rspec-users mailing list