mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user