Refactor: Merged RolesController#list and #index
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3435 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -35,7 +35,7 @@ class RolesControllerTest < ActionController::TestCase
|
||||
def test_get_index
|
||||
get :index
|
||||
assert_response :success
|
||||
assert_template 'list'
|
||||
assert_template 'index'
|
||||
|
||||
assert_not_nil assigns(:roles)
|
||||
assert_equal Role.find(:all, :order => 'builtin, position'), assigns(:roles)
|
||||
|
||||
Reference in New Issue
Block a user