Index: test/unit/helpers/application_helper_test.rb =================================================================== --- test/unit/helpers/application_helper_test.rb (revision 17151) +++ test/unit/helpers/application_helper_test.rb (working copy) @@ -1344,6 +1344,7 @@ assert_match tag_for_anonymous_re, avatar(nil) # Avatar for anonymous user assert_match tag_for_anonymous_re, avatar(User.anonymous) + assert avatar(User.anonymous, :size => 24).include?('width="24" height="24"') end end