diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-04-27 19:03:04 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-04-27 19:03:04 -0700 |
commit | 47a87fb0ec9d2e65914ff94abf2e5428d760fa39 (patch) | |
tree | e09898a07ffd8fc1e29f5f0ee8af27500f739b67 | |
parent | 3e8d88f7da5226b6dd4e3aee87a84d99d668a652 (diff) | |
parent | 6d8ec0bc93d29ae16e74aa2baf9d361e558e7d12 (diff) | |
download | rails-47a87fb0ec9d2e65914ff94abf2e5428d760fa39.tar.gz rails-47a87fb0ec9d2e65914ff94abf2e5428d760fa39.tar.bz2 rails-47a87fb0ec9d2e65914ff94abf2e5428d760fa39.zip |
Merge pull request #6026 from sikachu/master-fix_warning
Add parentheses to hide Ruby warning
-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 |