aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-02-26 20:45:01 -0200
committerYehuda Katz <yehudakatz@YK.local>2010-02-26 14:54:18 -0800
commitf10a019452d6864420dd15830073d93dd90de0f1 (patch)
tree04a406a89f2aa9ece67ff8f03129108e55c2b8af
parentb25c41e6d884372f7d70801f832e24dbff3e9077 (diff)
downloadrails-f10a019452d6864420dd15830073d93dd90de0f1.tar.gz
rails-f10a019452d6864420dd15830073d93dd90de0f1.tar.bz2
rails-f10a019452d6864420dd15830073d93dd90de0f1.zip
no more warning ambiguous first argument; put parentheses or even spaces on log_subscriber_test
-rw-r--r--activeresource/test/cases/log_subscriber_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/test/cases/log_subscriber_test.rb b/activeresource/test/cases/log_subscriber_test.rb
index c25dd4ebc5..5df2cad599 100644
--- a/activeresource/test/cases/log_subscriber_test.rb
+++ b/activeresource/test/cases/log_subscriber_test.rb
@@ -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 \ No newline at end of file
+end