Adds option for displaying all statuses on workflow permissions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9995 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -191,6 +191,14 @@ class WorkflowsControllerTest < ActionController::TestCase
|
||||
end
|
||||
end
|
||||
|
||||
def test_get_permissions_with_role_and_tracker_and_all_statuses
|
||||
WorkflowTransition.delete_all
|
||||
|
||||
get :permissions, :role_id => 1, :tracker_id => 2, :used_statuses_only => '0'
|
||||
assert_response :success
|
||||
assert_equal IssueStatus.sorted.all, assigns(:statuses)
|
||||
end
|
||||
|
||||
def test_post_permissions
|
||||
WorkflowPermission.delete_all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user