On Thu, Nov 27, 2008 at 8:38 AM, Frederick Cheung <[EMAIL PROTECTED]> wrote: > but if a failure occurs here then I genuinely don't know which > assertion has failed (unless I can remember that 'expected 4 got 3' > must be talking about the customer assertion because I remember the > number of records defined in the fixtures). > > It seems to me that this could be made more helpful if the default > error message included the expression being evaluated eg something > along the lines of > > Customer.count: expected 4, got 3
+1! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
