diff options
-rw-r--r-- | railties/test/queueing/threaded_consumer_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/queueing/threaded_consumer_test.rb b/railties/test/queueing/threaded_consumer_test.rb index 8e31ebf3c7..dd5efa26ea 100644 --- a/railties/test/queueing/threaded_consumer_test.rb +++ b/railties/test/queueing/threaded_consumer_test.rb @@ -76,6 +76,6 @@ class TestThreadConsumer < ActiveSupport::TestCase sleep 0.1 assert_equal 1, logger.logged(:error).size - assert_match /Job Error: RuntimeError: Error!/, logger.logged(:error).last + assert_match(/Job Error: RuntimeError: Error!/, logger.logged(:error).last) end end |