aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-01-05 15:56:23 -0800
committerAman Gupta <aman@tmm1.net>2015-01-05 15:56:23 -0800
commitbcbce4e9ffc2f5a2f86d3a977a0e07e2b2aab19e (patch)
tree24b4d8e07b9735aff8daf1e36029473ed880ce3a /actionpack
parent683f541d784e7aa15285c2eea5245d697c7120f7 (diff)
downloadrails-bcbce4e9ffc2f5a2f86d3a977a0e07e2b2aab19e.tar.gz
rails-bcbce4e9ffc2f5a2f86d3a977a0e07e2b2aab19e.tar.bz2
rails-bcbce4e9ffc2f5a2f86d3a977a0e07e2b2aab19e.zip
add parens to fix warning
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/template/test_case_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/test_case_test.rb b/actionpack/test/template/test_case_test.rb
index 08296d8374..4f73a4cdba 100644
--- a/actionpack/test/template/test_case_test.rb
+++ b/actionpack/test/template/test_case_test.rb
@@ -314,7 +314,7 @@ module ActionView
exception = assert_raise ActiveSupport::TestCase::Assertion do
assert_template :partial => "_partial_for_use_in_layout", :locals => { :name => "Somebody Else" }
end
- assert_match /Somebody Else.*David/m, exception.message
+ assert_match(/Somebody Else.*David/m, exception.message)
end
end