Permalink
Browse files

fixed test for more informative message

  • Loading branch information...
1 parent e7e1890 commit 14d1029aa342df46f61f22241359deffb9d5b9a4 @tenderlove tenderlove committed Jan 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/test/log_subscriber_test.rb
View
4 activesupport/test/log_subscriber_test.rb
@@ -118,6 +118,6 @@ def test_logging_does_not_die_on_failures
assert_equal 'some_event.my_log_subscriber', @logger.logged(:info).last
assert_equal 1, @logger.logged(:error).size
- assert_equal 'Could not log "puke.my_log_subscriber" event. RuntimeError: puke', @logger.logged(:error).last
+ assert_match 'Could not log "puke.my_log_subscriber" event. RuntimeError: puke', @logger.logged(:error).last
end
-end
+end

0 comments on commit 14d1029

Please sign in to comment.