mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 16:56:00 +01:00
Adds interval ratio setting to progressbar custom field (#42335).
Patch by Marius BĂLTEANU (user:marius.balteanu) and Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23686 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -5996,6 +5996,16 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
end
|
||||
|
||||
def test_get_edit_with_custom_field_progress_bar
|
||||
cf = IssueCustomField.generate!(:tracker_ids => [1], :is_for_all => true, :field_format => 'progressbar')
|
||||
|
||||
@request.session[:user_id] = 1
|
||||
get(:edit, :params => {:id => 1})
|
||||
assert_response :success
|
||||
|
||||
assert_select "select[id=?]", "issue_custom_field_values_#{cf.id}", 1
|
||||
end
|
||||
|
||||
def test_get_edit_with_me_assigned_to_id
|
||||
@request.session[:user_id] = 2
|
||||
get(
|
||||
|
||||
Reference in New Issue
Block a user