summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-08-07 12:44:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-08-07 12:44:07 +0000
commit4cc150bcfab073cb8a72d89b04d87f14ccaa9994 (patch)
treeb255f8af77d692e392d1da214c21e0dc32deb501
parent6ab769cae7d5af772e46cf3a99816563ebc0045e (diff)
downloadredmine-4cc150bcfab073cb8a72d89b04d87f14ccaa9994.tar.gz
redmine-4cc150bcfab073cb8a72d89b04d87f14ccaa9994.zip
add assert_select of form to IssuesControllerTest#test_get_bulk_copy_without_add_issues_permission_should_not_propose_current_project_as_target
git-svn-id: http://svn.redmine.org/redmine/trunk@19958 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/issues_controller_test.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 797039d64..b4688eb05 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -7182,9 +7182,11 @@ class IssuesControllerTest < Redmine::ControllerTest
}
)
assert_response :success
- assert_select 'select[name=?]', 'issue[project_id]' do
- assert_select 'option[value=""]', 0
- assert_select 'option[value="2"]'
+ assert_select 'form#bulk_edit_form[action=?]', '/issues/bulk_update' do
+ assert_select 'select[name=?]', 'issue[project_id]' do
+ assert_select 'option[value=""]', 0
+ assert_select 'option[value="2"]'
+ end
end
end