mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user