mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 22:36:02 +01:00
Remove filename from attachment preview links (#27822).
Patch by Felix Schäfer and Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17440 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -2081,7 +2081,7 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
assert_select 'div.thumbnails' do
|
||||
assert_select 'a[href="/attachments/16/testfile.png"]' do
|
||||
assert_select 'a[href="/attachments/16"]' do
|
||||
assert_select 'img[src="/attachments/thumbnail/16"]'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user