diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-04 12:41:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-04 12:41:31 +0000 |
commit | b06223738e2df0cc0251e08009241cf08f9f5be7 (patch) | |
tree | 6343facec1358c83100df74d8cc508c1520b9dda /test/functional/admin_controller_test.rb | |
parent | d862843c9d58461fbdaa0f50e8a80197462a01b6 (diff) | |
download | redmine-b06223738e2df0cc0251e08009241cf08f9f5be7.tar.gz redmine-b06223738e2df0cc0251e08009241cf08f9f5be7.zip |
Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9081 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/admin_controller_test.rb')
-rw-r--r-- | test/functional/admin_controller_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/admin_controller_test.rb b/test/functional/admin_controller_test.rb index 2e136bfdc..dea8b301e 100644 --- a/test/functional/admin_controller_test.rb +++ b/test/functional/admin_controller_test.rb @@ -16,18 +16,11 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. require File.expand_path('../../test_helper', __FILE__) -require 'admin_controller' - -# Re-raise errors caught by the controller. -class AdminController; def rescue_action(e) raise e end; end class AdminControllerTest < ActionController::TestCase fixtures :projects, :users, :roles def setup - @controller = AdminController.new - @request = ActionController::TestRequest.new - @response = ActionController::TestResponse.new User.current = nil @request.session[:user_id] = 1 # admin end |