aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSandeep <sandeep.ravichandran@sourcebits.com>2012-03-16 19:06:57 +0530
committerSandeep <sandeep.ravichandran@sourcebits.com>2012-03-16 19:07:41 +0530
commite7f8d5069533ad3e60b75ba272f9053d1082ccd3 (patch)
treedfbd5a92703e52d369b0d321e26e4915d94ee9ec /actionpack
parent034ccf40489d5329ac72a0a5d33b907f755cf1b6 (diff)
downloadrails-e7f8d5069533ad3e60b75ba272f9053d1082ccd3.tar.gz
rails-e7f8d5069533ad3e60b75ba272f9053d1082ccd3.tar.bz2
rails-e7f8d5069533ad3e60b75ba272f9053d1082ccd3.zip
fixed - warning: ambiguous first argument; put parentheses or even spaces
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/request_forgery_protection_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/request_forgery_protection_test.rb b/actionpack/test/controller/request_forgery_protection_test.rb
index 8d4b76849f..7b722bd3d7 100644
--- a/actionpack/test/controller/request_forgery_protection_test.rb
+++ b/actionpack/test/controller/request_forgery_protection_test.rb
@@ -112,7 +112,7 @@ module RequestForgeryProtectionTests
assert_not_blocked do
get :form_for_remote
end
- assert_no_match /authenticity_token/, response.body
+ assert_no_match(/authenticity_token/, response.body)
end
def test_should_render_form_with_token_tag_if_remote_and_authenticity_token_requested