mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
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:
@@ -7182,9 +7182,11 @@ class IssuesControllerTest < Redmine::ControllerTest
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_select 'select[name=?]', 'issue[project_id]' do
|
assert_select 'form#bulk_edit_form[action=?]', '/issues/bulk_update' do
|
||||||
assert_select 'option[value=""]', 0
|
assert_select 'select[name=?]', 'issue[project_id]' do
|
||||||
assert_select 'option[value="2"]'
|
assert_select 'option[value=""]', 0
|
||||||
|
assert_select 'option[value="2"]'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user