aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-10-01 18:07:19 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-10-01 18:07:19 -0700
commit50cf5c11a1b33cd082bbdf4f253581109955797c (patch)
tree518f1affb82a892d4e1b96174d39adfa90623401 /actionpack/test
parentffbcb84c215bb615a3db4bb8bf8dcb977e72e32b (diff)
downloadrails-50cf5c11a1b33cd082bbdf4f253581109955797c.tar.gz
rails-50cf5c11a1b33cd082bbdf4f253581109955797c.tar.bz2
rails-50cf5c11a1b33cd082bbdf4f253581109955797c.zip
fixing warnings with regexps on assert_match
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/log_subscriber_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/log_subscriber_test.rb b/actionpack/test/controller/log_subscriber_test.rb
index 10873708fe..90c944d890 100644
--- a/actionpack/test/controller/log_subscriber_test.rb
+++ b/actionpack/test/controller/log_subscriber_test.rb
@@ -151,8 +151,8 @@ class ACLogSubscriberTest < ActionController::TestCase
wait
assert_equal 4, logs.size
- assert_match /Exist fragment\? views\/foo%bar/, logs[1]
- assert_match /Write fragment views\/foo%bar/, logs[2]
+ assert_match(/Exist fragment\? views\/foo%bar/, logs[1])
+ assert_match(/Write fragment views\/foo%bar/, logs[2])
ensure
@controller.config.perform_caching = true
end