From 3e98819e20bc113343d4d4c0df614865ad5a9d3a Mon Sep 17 00:00:00 2001 From: Ben Toews Date: Mon, 4 Jan 2016 12:23:55 -0700 Subject: add option for per-form CSRF tokens --- actionview/test/template/url_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/test/template') diff --git a/actionview/test/template/url_helper_test.rb b/actionview/test/template/url_helper_test.rb index 784a48ed8d..89cabb8f6b 100644 --- a/actionview/test/template/url_helper_test.rb +++ b/actionview/test/template/url_helper_test.rb @@ -582,7 +582,7 @@ class UrlHelperTest < ActiveSupport::TestCase self.request_forgery end - def form_authenticity_token + def form_authenticity_token(*args) "secret" end -- cgit v1.2.3