From 8d469912facd9497322fc6e8eedc4cfa0dddb88c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 21 Jul 2020 13:41:34 +0000 Subject: [PATCH] add assert_select of form to IssuesControllerTest#test_get_bulk_copy git-svn-id: http://svn.redmine.org/redmine/trunk@19934 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 2b2294081..797039d64 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -7163,10 +7163,12 @@ class IssuesControllerTest < Redmine::ControllerTest ) assert_response :success assert_select '#bulk-selection li', 3 - assert_select 'select[name=?]', 'issue[project_id]' do - assert_select 'option[value=""]' + assert_select 'form#bulk_edit_form[action=?]', '/issues/bulk_update' do + assert_select 'select[name=?]', 'issue[project_id]' do + assert_select 'option[value=""]' + end + assert_select 'input[name=copy_attachments]' end - assert_select 'input[name=copy_attachments]' end def test_get_bulk_copy_without_add_issues_permission_should_not_propose_current_project_as_target -- 2.39.5