Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Escape regex in controller_runtime_test to actually check that the Ac…

…tiveRecord message appears
  • Loading branch information...
commit 518ffcd168776cfaaae49faad9650621b32f148e 1 parent d491130
@tomafro tomafro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/activerecord/controller_runtime_test.rb
View
2  actionpack/test/activerecord/controller_runtime_test.rb
@@ -37,6 +37,6 @@ def test_log_with_active_record
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
Please sign in to comment.
Something went wrong with that request. Please try again.