From fcc8743459422a8c2e6f08e84db53c0298061946 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Mon, 19 Mar 2012 11:55:50 +0530 Subject: Build fix for ruby1.8.7-358 --- actionpack/test/controller/request_forgery_protection_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/controller/request_forgery_protection_test.rb') diff --git a/actionpack/test/controller/request_forgery_protection_test.rb b/actionpack/test/controller/request_forgery_protection_test.rb index 37b9de350b..b8b14f3a24 100644 --- a/actionpack/test/controller/request_forgery_protection_test.rb +++ b/actionpack/test/controller/request_forgery_protection_test.rb @@ -115,7 +115,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 -- cgit v1.2.3