summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-04 12:44:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-04 12:44:58 +0000
commit45e2e57afbdceb7faf52f387886b2ba6771bdc48 (patch)
treef3bdcc63ce0fccf651468e282dfb0056b38a35f3
parent7ec8a9a1009f87a2d38d5d48be50408bc75ce578 (diff)
downloadredmine-45e2e57afbdceb7faf52f387886b2ba6771bdc48.tar.gz
redmine-45e2e57afbdceb7faf52f387886b2ba6771bdc48.zip
Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9083 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/roles_controller_test.rb3
1 files changed, 3 insertions, 0 deletions
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