summaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-06-02 03:53:11 +0000
committerGo MAEDA <maeda@farend.jp>2018-06-02 03:53:11 +0000
commite7c4970b94246310f72e8a3c29dfdd3f2c4aad20 (patch)
tree19a584dee35f26b745128d5ff002585ed0e9afd7 /test/helpers
parent3a47a39e7c709a4a653b249e0c6cbba00f90f2ba (diff)
downloadredmine-e7c4970b94246310f72e8a3c29dfdd3f2c4aad20.tar.gz
redmine-e7c4970b94246310f72e8a3c29dfdd3f2c4aad20.zip
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
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/application_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
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