Don't create two thumbnails of different resolutions for a single image (#37597).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21784 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2022-08-28 06:35:42 +00:00
parent 8d6c82316d
commit 54f281fef9
3 changed files with 5 additions and 4 deletions

View File

@@ -2756,7 +2756,7 @@ class IssuesControllerTest < Redmine::ControllerTest
end
assert_select 'div.thumbnails' do
assert_select 'a[href="/attachments/16"]' do
assert_select 'img[src="/attachments/thumbnail/16"]'
assert_select 'img[src="/attachments/thumbnail/16/200"]'
end
end
end