summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-07-08 00:27:58 +0000
committerGo MAEDA <maeda@farend.jp>2018-07-08 00:27:58 +0000
commitcb5fce04426df4803726c874e0e9e9285cdd7837 (patch)
tree066885a639a5437c288a8b537cf48011881c0a54 /test/integration
parentd1c84dbdf98258c0c08ca6af2afaaae4b74991e3 (diff)
downloadredmine-cb5fce04426df4803726c874e0e9e9285cdd7837.tar.gz
redmine-cb5fce04426df4803726c874e0e9e9285cdd7837.zip
Adds link to container to attachment view (#29190).
Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17435 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 759a73b17..958b25769 100644
--- a/test/integration/lib/redmine/field_format/attachment_format_test.rb
+++ b/test/integration/lib/redmine/field_format/attachment_format_test.rb
@@ -85,7 +85,7 @@ class AttachmentFieldFormatTest < Redmine::IntegrationTest
# preview the attachment
get link.attr('href')
assert_response :success
- assert_select 'h2', :text => 'testfile.txt'
+ assert_select 'h2', :text => "#{issue.tracker} ##{issue.id} ยป testfile.txt"
end
def test_create_without_attachment