diff options
author | Xavier Noria <fxn@hashref.com> | 2010-08-17 03:29:57 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-17 03:32:11 +0200 |
commit | fb6b80562041e8d2378cad1b51f8c234fe76fd5e (patch) | |
tree | e407af937ad119b1a5a6c977b13319f24994cde2 /actionpack/test/template | |
parent | d14e2987b583a3dcb6836d310f77ce367c7396f8 (diff) | |
download | rails-fb6b80562041e8d2378cad1b51f8c234fe76fd5e.tar.gz rails-fb6b80562041e8d2378cad1b51f8c234fe76fd5e.tar.bz2 rails-fb6b80562041e8d2378cad1b51f8c234fe76fd5e.zip |
code gardening: we have assert_(nil|blank|present), more concise, with better default failure messages - let's use them
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 869ea22469..fb43a8f960 100644 --- a/actionpack/test/template/atom_feed_helper_test.rb +++ b/actionpack/test/template/atom_feed_helper_test.rb @@ -226,7 +226,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 @response.body.blank? + assert_blank @response.body end end |