Functional tests cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10936 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-12-03 22:23:23 +00:00
parent 349049a539
commit 4cc4e8bfd3
35 changed files with 222 additions and 251 deletions

View File

@@ -19,6 +19,7 @@ require File.expand_path('../../test_helper', __FILE__)
require 'issues_controller'
class IssuesControllerTransactionTest < ActionController::TestCase
tests IssuesController
fixtures :projects,
:users,
:roles,
@@ -46,9 +47,6 @@ class IssuesControllerTransactionTest < ActionController::TestCase
self.use_transactional_fixtures = false
def setup
@controller = IssuesController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
User.current = nil
end