summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-12 18:51:34 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-12 18:51:34 +0000
commit887b8d2fdf0604c6fac624b3e3d8ca43dd525346 (patch)
treee921ea2e0ac5651745a84f2c58056a6e47888f57 /test/functional
parent039580b73df1d8f4f5471ee97dd0e207c193ae1f (diff)
downloadredmine-887b8d2fdf0604c6fac624b3e3d8ca43dd525346.tar.gz
redmine-887b8d2fdf0604c6fac624b3e3d8ca43dd525346.zip
Adds a link to container on attachments edit form.
git-svn-id: http://svn.redmine.org/redmine/trunk@17722 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/attachments_controller_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb
index a5d4c1705..cf7e96115 100644
--- a/test/functional/attachments_controller_test.rb
+++ b/test/functional/attachments_controller_test.rb
@@ -463,6 +463,9 @@ class AttachmentsControllerTest < Redmine::ControllerTest
assert_select 'input[name=?][value=?]', 'attachments[4][description]', 'This is a Ruby source file'
end
end
+
+ # Link to the container in heading
+ assert_select 'h2 a', :text => "Feature request #2"
end
def test_edit_all_with_invalid_container_class_should_return_404