Permalink
Browse files

Add parentheses to hide Ruby warning

  • Loading branch information...
1 parent 3e8d88f commit 6d8ec0bc93d29ae16e74aa2baf9d361e558e7d12 @sikachu sikachu committed Apr 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/queueing/threaded_consumer_test.rb
View
2 railties/test/queueing/threaded_consumer_test.rb
@@ -76,6 +76,6 @@ def teardown
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

0 comments on commit 6d8ec0b

Please sign in to comment.