1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 04:09:38 +00:00

Test that "img" tag for an avatar of AnonymousUser has "width" and "height" attributes (#28204).

Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17201 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2018-02-18 05:05:50 +00:00
parent a500e8fafc
commit 8117d481ac

View File

@ -1318,6 +1318,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