Permalink
Browse files

fixed - warning: ambiguous first argument; put parentheses or even sp…

…aces
  • Loading branch information...
1 parent 034ccf4 commit e7f8d5069533ad3e60b75ba272f9053d1082ccd3 @sandeepr-sourcebits sandeepr-sourcebits 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 e7f8d50

Please sign in to comment.