aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorTimm <kaspth@gmail.com>2013-10-13 21:34:04 +0200
committerTimm <kaspth@gmail.com>2014-06-16 21:04:21 +0200
commit65d04439128d54558df7b1587d9d84a49a2137dd (patch)
treeb2de35139ea2576b2f53082ce264ea5a45701a6e /actionpack
parent5913a09c78f3755f838db93cc90e873b4f325d62 (diff)
downloadrails-65d04439128d54558df7b1587d9d84a49a2137dd.tar.gz
rails-65d04439128d54558df7b1587d9d84a49a2137dd.tar.bz2
rails-65d04439128d54558df7b1587d9d84a49a2137dd.zip
Remove unneeded comment in test.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/request_forgery_protection_test.rb2
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 58b8e96a4e..05ad8b6cdc 100644
--- a/actionpack/test/controller/request_forgery_protection_test.rb
+++ b/actionpack/test/controller/request_forgery_protection_test.rb
@@ -386,7 +386,7 @@ class RequestForgeryProtectionControllerUsingResetSessionTest < ActionController
end
test 'should emit a csrf-param meta tag and a csrf-token meta tag' do
- SecureRandom.stubs(:base64).returns(@token + '<=?') # '<="?"'
+ SecureRandom.stubs(:base64).returns(@token + '<=?')
get :meta
assert_select 'meta[name=?][content=?]', 'csrf-param', 'custom_authenticity_token'
assert_select 'meta[name=?]', 'csrf-token'