From 45e2e57afbdceb7faf52f387886b2ba6771bdc48 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 4 Mar 2012 12:44:58 +0000 Subject: [PATCH] Test cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9083 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/roles_controller_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/functional/roles_controller_test.rb b/test/functional/roles_controller_test.rb index 4a9a872b1..fc8c2ee51 100644 --- a/test/functional/roles_controller_test.rb +++ b/test/functional/roles_controller_test.rb @@ -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