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
This commit is contained in:
Toshi MARUYAMA
2020-08-07 12:44:07 +00:00
parent 6ab769cae7
commit 4cc150bcfa

View File

@@ -7182,11 +7182,13 @@ class IssuesControllerTest < Redmine::ControllerTest
}
)
assert_response :success
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
def test_bulk_copy_to_another_project
@request.session[:user_id] = 2