Class: ActionController::TestCase

Inherits:
ActiveSupport::TestCase show all
Includes:
Behavior
Defined in:
actionpack/lib/action_controller/test_case.rb,
railties/lib/rails/test_help.rb

Overview

:enddoc:

Defined Under Namespace

Modules: Behavior

Constant Summary

Constants inherited from ActiveSupport::TestCase

ActiveSupport::TestCase::Assertion

Constants included from ActiveSupport::Testing::Assertions

ActiveSupport::Testing::Assertions::UNTRACKED

Instance Attribute Summary

Attributes included from Behavior

#request, #response

Instance Method Summary collapse

Methods included from Behavior

#build_response, #controller_class_name, #delete, #generated_path, #get, #head, #patch, #post, #process, #put, #query_parameter_names, #setup_controller_request_and_response

Methods included from ActiveSupport::Concern

#append_features, #class_methods, extended, #included

Methods included from ActionDispatch::TestProcess

#assigns, #cookies, #flash, #redirect_to_url, #session

Methods included from ActionDispatch::TestProcess::FixtureFile

#fixture_file_upload

Methods inherited from ActiveSupport::TestCase

test_order, test_order=

Methods included from ActiveSupport::Testing::Declarative

#test

Methods included from ActiveRecord::TestFixtures

#after_teardown, #enlist_fixture_connections, #run_in_transaction?, #setup_fixtures, #teardown_fixtures

Methods included from ActiveSupport::Testing::FileFixtures

#file_fixture

Methods included from ActiveSupport::Testing::TimeHelpers

#after_teardown, #freeze_time, #travel, #travel_back, #travel_to

Methods included from ActiveSupport::Testing::Deprecation

#assert_deprecated, #assert_not_deprecated, #collect_deprecations

Methods included from ActiveSupport::Testing::Assertions

#assert_changes, #assert_difference, #assert_no_changes, #assert_no_difference, #assert_not, #assert_nothing_raised

Methods included from ActiveSupport::Testing::SetupAndTeardown

#after_teardown

Instance Method Details

#before_setupObject

:nodoc:



41
42
43
44
# File 'railties/lib/rails/test_help.rb', line 41

def before_setup # :nodoc:
  @routes = Quails.application.routes
  super
end