diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2013-01-05 09:07:56 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2013-01-05 09:07:56 -0800 |
commit | cbabd1bf246913ceeb2f7435c1baa9160b17339e (patch) | |
tree | 5314a890679253e9201a2282daa88a32a13a0809 /actionpack/test/controller/request_forgery_protection_test.rb | |
parent | 3d08614826e18e005818c7685b9bc4cdc28f77af (diff) | |
parent | 947e1d5e85fa87128b7c5e21da55b92826cd7801 (diff) | |
download | rails-cbabd1bf246913ceeb2f7435c1baa9160b17339e.tar.gz rails-cbabd1bf246913ceeb2f7435c1baa9160b17339e.tar.bz2 rails-cbabd1bf246913ceeb2f7435c1baa9160b17339e.zip |
Merge pull request #8769 from senny/deprecate_assert_blank
deprecate `assert_blank` and `assert_present`.
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 1f637eb791..523a8d0572 100644 --- a/actionpack/test/controller/request_forgery_protection_test.rb +++ b/actionpack/test/controller/request_forgery_protection_test.rb @@ -320,7 +320,7 @@ class FreeCookieControllerTest < ActionController::TestCase test 'should not emit a csrf-token meta tag' do get :meta - assert_blank @response.body + assert @response.body.blank? end end |