Commit d2c41c02 authored by maeda's avatar maeda

Rails 5.2: image_tag no longer generates default alt text (#28932).

Patch by Pavel Rosický.


git-svn-id: https://svn.redmine.org/redmine/trunk@17356 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b1ce760f
......@@ -1409,7 +1409,7 @@ RAW
def test_thumbnail_tag
a = Attachment.find(3)
assert_select_in thumbnail_tag(a),
'a[href=?][title=?] img[alt="3"][src=?]',
'a[href=?][title=?] img[src=?]',
"/attachments/3/logo.gif", "logo.gif", "/attachments/thumbnail/3"
end
......
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