madlep
2008-Oct-03 04:50 UTC
Patch for review: improved reporting of failed expression in assert_difference
Hey guys. First patch. Hopefully I''m going about this the right way :) Anyway, smallish patch to active_support/testing/core_ext/test/unit/ assertions.rb to provide more explicit messages on assertion failures. Outputs the expression that failed as well as the expected and actual value. http://rails.lighthouseapp.com/projects/8994/tickets/1161-improved-reporting-of-failed-expression-in-assert_difference cheers madlep --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---