Permalink
Browse files

Merge pull request #5468 from sandeepravi/warning_fixes

fixed - warning: ambiguous first argument; put parentheses or even spaces
  • Loading branch information...
2 parents 034ccf4 + e7f8d50 commit 5245eb30b144380d9c8c48538a978fb8facb71c0 @spastorino spastorino committed Mar 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/controller/request_forgery_protection_test.rb
@@ -112,7 +112,7 @@ def test_should_render_form_without_token_tag_if_remote
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

0 comments on commit 5245eb3

Please sign in to comment.