diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-03 22:07:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-03 22:07:43 +0000 |
commit | 349049a539601b0095783befdef4ae1106d85c98 (patch) | |
tree | 0213a672baa9216a547dbde15ad93851eda8b40a | |
parent | 127a2508fadbff750b6f072261b6f95080eed5fd (diff) | |
download | redmine-349049a539601b0095783befdef4ae1106d85c98.tar.gz redmine-349049a539601b0095783befdef4ae1106d85c98.zip |
Test case cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10935 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/my_controller_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb index 7fe581f2f..27afdf175 100644 --- a/test/functional/my_controller_test.rb +++ b/test/functional/my_controller_test.rb @@ -16,20 +16,13 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. require File.expand_path('../../test_helper', __FILE__) -require 'my_controller' - -# Re-raise errors caught by the controller. -class MyController; def rescue_action(e) raise e end; end class MyControllerTest < ActionController::TestCase fixtures :users, :user_preferences, :roles, :projects, :members, :member_roles, :issues, :issue_statuses, :trackers, :enumerations, :custom_fields, :auth_sources def setup - @controller = MyController.new - @request = ActionController::TestRequest.new @request.session[:user_id] = 2 - @response = ActionController::TestResponse.new end def test_index |