On Sat, Mar 9, 2013 at 6:08 PM, Samer Masry <samer.ma...@gmail.com> wrote:

> It would be better to split that into two tests that test when each error
> is raised.
>

Except that the specific error that I receive depends on the ordering of
the data in the database, which isn't something I control.  Hmm -- as I
stare at that previous sentence, I detect a broader design smell rather
than a specific code smell.  I'll go think about this...
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to