Project

General

Profile

Defect #28204 » test_size_option_for_avatar_should_accept_integer_value.diff

test to catch this issue - Go MAEDA, 2018-02-18 00:35

View differences:

test/unit/helpers/application_helper_test.rb (working copy)
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
(2-2/3)