diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-01-05 17:59:36 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-01-05 18:04:52 +0100 |
commit | 947e1d5e85fa87128b7c5e21da55b92826cd7801 (patch) | |
tree | 5d86ab00506c39d154226f177cce36245d2fd440 /actionpack/test/template | |
parent | fada87e916dd50eb6766cac919de41f0be2a12bc (diff) | |
download | rails-947e1d5e85fa87128b7c5e21da55b92826cd7801.tar.gz rails-947e1d5e85fa87128b7c5e21da55b92826cd7801.tar.bz2 rails-947e1d5e85fa87128b7c5e21da55b92826cd7801.zip |
deprecate `assert_blank` and `assert_present`.
They don't add any benefits over `assert object.blank?`
and `assert object.present?`
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/atom_feed_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/atom_feed_helper_test.rb b/actionpack/test/template/atom_feed_helper_test.rb index 89aae4ac56..63b5ac0fab 100644 --- a/actionpack/test/template/atom_feed_helper_test.rb +++ b/actionpack/test/template/atom_feed_helper_test.rb @@ -238,7 +238,7 @@ class AtomFeedTest < ActionController::TestCase get :index, :id=>"provide_builder" # because we pass in the non-default builder, the content generated by the # helper should go 'nowhere'. Leaving the response body blank. - assert_blank @response.body + assert @response.body.blank? end end |