diff options
author | Marcin Olichwirowicz <olichwirowicz@gmail.com> | 2015-09-05 16:58:21 +0200 |
---|---|---|
committer | Marcin Olichwirowicz <olichwirowicz@gmail.com> | 2015-09-05 16:58:40 +0200 |
commit | 81bc771e7cccb8a43f067a89f721f83798e63483 (patch) | |
tree | 2ab0d3b2b2530ad296c34cc57df66c715ee7be0b /actionpack/test/controller/request_forgery_protection_test.rb | |
parent | a8f4568f5396b68ae81eddc636604bb78bb6632a (diff) | |
download | rails-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.rb | 1 |
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 |