diff options
author | Prem Sichanugrist <s@sikachu.com> | 2012-04-27 20:37:30 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikachu.com> | 2012-04-27 20:37:30 -0400 |
commit | 6d8ec0bc93d29ae16e74aa2baf9d361e558e7d12 (patch) | |
tree | e09898a07ffd8fc1e29f5f0ee8af27500f739b67 /railties/test | |
parent | 3e8d88f7da5226b6dd4e3aee87a84d99d668a652 (diff) | |
download | rails-6d8ec0bc93d29ae16e74aa2baf9d361e558e7d12.tar.gz rails-6d8ec0bc93d29ae16e74aa2baf9d361e558e7d12.tar.bz2 rails-6d8ec0bc93d29ae16e74aa2baf9d361e558e7d12.zip |
Add parentheses to hide Ruby warning
Diffstat (limited to 'railties/test')
-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 |