summaryrefslogtreecommitdiffstats
path: root/test/unit/helpers/application_helper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/helpers/application_helper_test.rb')
-rw-r--r--test/unit/helpers/application_helper_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb
index 2285944af..ff8e4e28e 100644
--- a/test/unit/helpers/application_helper_test.rb
+++ b/test/unit/helpers/application_helper_test.rb
@@ -1307,6 +1307,7 @@ RAW
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