mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 15:26:03 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user