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