Skip to content
This repository
Browse code

fixed test for more informative message

  • Loading branch information...
commit 14d1029aa342df46f61f22241359deffb9d5b9a4 1 parent e7e1890
Aaron Patterson tenderlove authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 activesupport/test/log_subscriber_test.rb
4 activesupport/test/log_subscriber_test.rb
@@ -118,6 +118,6 @@ def test_logging_does_not_die_on_failures
118 118 assert_equal 'some_event.my_log_subscriber', @logger.logged(:info).last
119 119
120 120 assert_equal 1, @logger.logged(:error).size
121   - assert_equal 'Could not log "puke.my_log_subscriber" event. RuntimeError: puke', @logger.logged(:error).last
  121 + assert_match 'Could not log "puke.my_log_subscriber" event. RuntimeError: puke', @logger.logged(:error).last
122 122 end
123   -end
  123 +end

0 comments on commit 14d1029

Please sign in to comment.
Something went wrong with that request. Please try again.