From e7c4970b94246310f72e8a3c29dfdd3f2c4aad20 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 2 Jun 2018 03:53:11 +0000 Subject: [PATCH] Rails 5.2: image_tag no longer generates default alt text (#28932). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 09ea4a493..1269521d0 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -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