diff options
-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 |