Add download buttons in Files columns of the issues list (#32240).

Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19500 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-02-06 14:24:51 +00:00
parent df96636e40
commit 9d18f67f9e
4 changed files with 26 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ class AttachmentFieldFormatTest < Redmine::IntegrationTest
assert_response :success
# link to the attachment
link = css_select(".cf_#{@field.id} .value a")
link = css_select(".cf_#{@field.id} .value a:not(.icon-download)")
assert_equal 1, link.size
assert_equal "testfile.txt", link.text