aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/request_forgery_protection_test.rb
diff options
context:
space:
mode:
authorMarcin Olichwirowicz <olichwirowicz@gmail.com>2015-09-05 16:58:21 +0200
committerMarcin Olichwirowicz <olichwirowicz@gmail.com>2015-09-05 16:58:40 +0200
commit81bc771e7cccb8a43f067a89f721f83798e63483 (patch)
tree2ab0d3b2b2530ad296c34cc57df66c715ee7be0b /actionpack/test/controller/request_forgery_protection_test.rb
parenta8f4568f5396b68ae81eddc636604bb78bb6632a (diff)
downloadrails-81bc771e7cccb8a43f067a89f721f83798e63483.tar.gz
rails-81bc771e7cccb8a43f067a89f721f83798e63483.tar.bz2
rails-81bc771e7cccb8a43f067a89f721f83798e63483.zip
Remove mocha from ActionPack tests
Diffstat (limited to 'actionpack/test/controller/request_forgery_protection_test.rb')
-rw-r--r--actionpack/test/controller/request_forgery_protection_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/test/controller/request_forgery_protection_test.rb b/actionpack/test/controller/request_forgery_protection_test.rb
index 90fd8669c2..94ffbe3cd0 100644
--- a/actionpack/test/controller/request_forgery_protection_test.rb
+++ b/actionpack/test/controller/request_forgery_protection_test.rb
@@ -379,7 +379,6 @@ module RequestForgeryProtectionTests
end
def test_should_not_raise_error_if_token_is_not_a_string
- @controller.unstub(:valid_authenticity_token?)
assert_blocked do
patch :index, params: { custom_authenticity_token: { foo: 'bar' } }
end