mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 06:15:48 +02:00
Adds a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -61,6 +61,13 @@ class WorkflowsControllerTest < ActionController::TestCase
|
||||
assert_select 'input[type=checkbox][name=?]', 'transitions[1][1][always]', 0
|
||||
end
|
||||
|
||||
def test_get_edit_with_all_roles_and_all_trackers
|
||||
get :edit, :role_id => 'all', :tracker_id => 'all'
|
||||
assert_response :success
|
||||
assert_equal Role.sorted.to_a, assigns(:roles)
|
||||
assert_equal Tracker.sorted.to_a, assigns(:trackers)
|
||||
end
|
||||
|
||||
def test_get_edit_with_role_and_tracker_and_all_statuses
|
||||
WorkflowTransition.delete_all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user