aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord/controller_runtime_test.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-10-15 16:31:00 +0200
committerXavier Noria <fxn@hashref.com>2010-10-15 16:31:00 +0200
commit21ff8849bb7d4f1c277d767c7704eb63d8920cc7 (patch)
tree5e6b8d278ef14d0ab0089238bbce61bad5423b32 /actionpack/test/activerecord/controller_runtime_test.rb
parentc42ea2172eb977538cda076942d69eb90e090a26 (diff)
downloadrails-21ff8849bb7d4f1c277d767c7704eb63d8920cc7.tar.gz
rails-21ff8849bb7d4f1c277d767c7704eb63d8920cc7.tar.bz2
rails-21ff8849bb7d4f1c277d767c7704eb63d8920cc7.zip
in regexps, the dot in a character class is not a metacharacter
Diffstat (limited to 'actionpack/test/activerecord/controller_runtime_test.rb')
-rw-r--r--actionpack/test/activerecord/controller_runtime_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/activerecord/controller_runtime_test.rb b/actionpack/test/activerecord/controller_runtime_test.rb
index 16fc901760..7931da3741 100644
--- a/actionpack/test/activerecord/controller_runtime_test.rb
+++ b/actionpack/test/activerecord/controller_runtime_test.rb
@@ -37,6 +37,6 @@ class ControllerRuntimeLogSubscriberTest < ActionController::TestCase
wait
assert_equal 2, @logger.logged(:info).size
- assert_match(/\(Views: [\d\.]+ms | ActiveRecord: [\d\.]+ms\)/, @logger.logged(:info)[1])
+ assert_match(/\(Views: [\d.]+ms | ActiveRecord: [\d.]+ms\)/, @logger.logged(:info)[1])
end
end