Commit 63d8e1bb authored by maeda's avatar maeda

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

Patch by Go MAEDA.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent f80b33ff
......@@ -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"')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment