mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
no more warning ambiguous first argument; put parentheses or even spaces on log_subscriber_test
This commit is contained in:
parent
b25c41e6d8
commit
f10a019452
1 changed files with 2 additions and 2 deletions
|
@ -27,6 +27,6 @@ class LogSubscriberTest < ActiveSupport::TestCase
|
|||
wait
|
||||
assert_equal 2, @logger.logged(:info).size
|
||||
assert_equal "GET http://37s.sunrise.i:3000/people/1.xml", @logger.logged(:info)[0]
|
||||
assert_match /\-\-\> 200 200 106/, @logger.logged(:info)[1]
|
||||
assert_match(/\-\-\> 200 200 106/, @logger.logged(:info)[1])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue