summaryrefslogtreecommitdiffstats
path: root/test/functional/documents_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-30 18:59:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-30 18:59:51 +0000
commite25caff16f06bd4515c5e6e49951fc1bc692df56 (patch)
treeea603ad0a5b14a183d6d8b321f8b42d6068fa44c /test/functional/documents_controller_test.rb
parentafb84b682313914d7dd275e825fdd847552fc4a1 (diff)
downloadredmine-e25caff16f06bd4515c5e6e49951fc1bc692df56.tar.gz
redmine-e25caff16f06bd4515c5e6e49951fc1bc692df56.zip
Test class cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8006 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/documents_controller_test.rb')
-rw-r--r--test/functional/documents_controller_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/documents_controller_test.rb b/test/functional/documents_controller_test.rb
index 77abc7efd..ad7260c1e 100644
--- a/test/functional/documents_controller_test.rb
+++ b/test/functional/documents_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 'documents_controller'
-
-# Re-raise errors caught by the controller.
-class DocumentsController; def rescue_action(e) raise e end; end
class DocumentsControllerTest < ActionController::TestCase
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, :documents, :enumerations
def setup
- @controller = DocumentsController.new
- @request = ActionController::TestRequest.new
- @response = ActionController::TestResponse.new
User.current = nil
end