]> source.dussan.org Git - redmine.git/commitdiff
Rails 5.2: image_tag no longer generates default alt text (#28932).
authorGo MAEDA <maeda@farend.jp>
Sat, 2 Jun 2018 03:53:11 +0000 (03:53 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 2 Jun 2018 03:53:11 +0000 (03:53 +0000)
Patch by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@17356 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/application_helper_test.rb

index 09ea4a493f76fd735b23012b753bb46938cf024c..1269521d0e68203ee84e91baa66c70fd927ea524 100644 (file)
@@ -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