mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-07 16:11:30 +00:00
Rails 5.2: image_tag no longer generates default alt text (#28932).
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17356 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3a47a39e7c
commit
e7c4970b94
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user