1
0
Fork 0
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:
Santiago Pastorino 2010-02-26 20:45:01 -02:00 committed by Yehuda Katz
parent b25c41e6d8
commit f10a019452

View file

@ -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