mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
Allows user to clear dates and text fields when bulk editing issues (#2199).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12192 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -3287,6 +3287,12 @@ class IssuesControllerTest < ActionController::TestCase
|
||||
end
|
||||
end
|
||||
|
||||
def test_bulk_edit_should_propose_to_clear_text_custom_fields
|
||||
@request.session[:user_id] = 2
|
||||
get :bulk_edit, :ids => [1, 3]
|
||||
assert_select 'input[name=?][value=?]', 'issue[custom_field_values][2]', '__none__'
|
||||
end
|
||||
|
||||
def test_bulk_edit_should_only_propose_statuses_allowed_for_all_issues
|
||||
WorkflowTransition.delete_all
|
||||
WorkflowTransition.create!(:role_id => 1, :tracker_id => 1,
|
||||
|
||||
Reference in New Issue
Block a user