summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-02-06 14:24:51 +0000
committerGo MAEDA <maeda@farend.jp>2020-02-06 14:24:51 +0000
commit9d18f67f9e93d5e2ac3940073358e7a547b90c29 (patch)
treeaba3fb4c9ba6636c173307c2ae89e75ef7dd272d /test/integration
parentdf96636e404b7b6ddba3909550896559d574356d (diff)
downloadredmine-9d18f67f9e93d5e2ac3940073358e7a547b90c29.tar.gz
redmine-9d18f67f9e93d5e2ac3940073358e7a547b90c29.zip
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
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/lib/redmine/field_format/attachment_format_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/lib/redmine/field_format/attachment_format_test.rb b/test/integration/lib/redmine/field_format/attachment_format_test.rb
index 61f439894..ccb33a9b6 100644
--- a/test/integration/lib/redmine/field_format/attachment_format_test.rb
+++ b/test/integration/lib/redmine/field_format/attachment_format_test.rb
@@ -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