summaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-09-20 10:24:53 +0000
committerGo MAEDA <maeda@farend.jp>2024-09-20 10:24:53 +0000
commitbf5ba9b24fbc3d98dc7e1475c8a77efeb4c90ecf (patch)
tree942225e9048d745dbe3f37961190ebf41c0189f7 /test/helpers
parent52deba3abf4753777d189b379df3acec723c7bce (diff)
downloadredmine-bf5ba9b24fbc3d98dc7e1475c8a77efeb4c90ecf.tar.gz
redmine-bf5ba9b24fbc3d98dc7e1475c8a77efeb4c90ecf.zip
Moves thumbnail title attribute from `a` to `img` (#41272).
Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23065 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 76b39545c..bad102c20 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -1932,7 +1932,7 @@ class ApplicationHelperTest < Redmine::HelperTest
a = Attachment.find(3)
assert_select_in(
thumbnail_tag(a),
- 'a[href=?][title=?] img[src=?][loading="lazy"]',
+ 'a[href=?] img[title=?][src=?][loading="lazy"]',
"/attachments/3", "logo.gif", "/attachments/thumbnail/3/200")
end