diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 15:26:24 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 15:26:24 -0800 |
commit | 2191aa47acc0a560366c8c09fa9635602cff5f07 (patch) | |
tree | 45a7706719a896658fed6604b3026b8408b4825c /actionpack/test/controller/request_forgery_protection_test.rb | |
parent | 09a88a347d1f94869b945dfaa47ca54dd1940d46 (diff) | |
download | rails-2191aa47acc0a560366c8c09fa9635602cff5f07.tar.gz rails-2191aa47acc0a560366c8c09fa9635602cff5f07.tar.bz2 rails-2191aa47acc0a560366c8c09fa9635602cff5f07.zip |
Expose CSRF param name also
Diffstat (limited to 'actionpack/test/controller/request_forgery_protection_test.rb')
-rw-r--r-- | actionpack/test/controller/request_forgery_protection_test.rb | 2 |
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 55c21bc84a..77d07d8eeb 100644 --- a/actionpack/test/controller/request_forgery_protection_test.rb +++ b/actionpack/test/controller/request_forgery_protection_test.rb @@ -218,7 +218,7 @@ class RequestForgeryProtectionControllerTest < ActionController::TestCase test 'should emit a csrf-token meta tag' do get :meta - assert_equal %(<meta name="csrf-token" content="#{@token}"/>), @response.body + assert_equal %(<meta name="csrf-param" content="authenticity_token"/>\n<meta name="csrf-token" content="#{@token}"/>), @response.body end end |