Would you post the results of your spec? I'd like to see what you're getting.
I'm not familiar with DataMapper, but from an Active Record standpoint, the order clause does not look right. e.g. should be Square.all.order(:name) 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. Brian -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users