[rspec-users] Controller Spec & DataMapper Chaining
lists at ruby-forum.com
Fri Mar 18 11:34:01 EDT 2011
Would you post the results of your spec? I'd like to see what you're
I'm not familiar with DataMapper, but from an Active Record standpoint,
the order clause does not look right. e.g. should be
Try running the spec without the order clause in index (e.g. Widget.all)
just to see if that works to rule out the order clause. You might have
to do stub chain on Widget for all and then order.
Everything else seems fine at quick glance.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users