Test cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9083 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-03-04 12:44:58 +00:00
parent 7ec8a9a100
commit 45e2e57afb
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ class RolesControllerTest < ActionController::TestCase
fixtures :roles, :users, :members, :member_roles, :workflows, :trackers
def setup
@controller = RolesController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
User.current = nil
@request.session[:user_id] = 1 # admin
end