Namespace
Methods
B
S
Instance Public methods
before_setup()
# File actionpack/test/controller/test_case_test.rb, line 1023
def before_setup
  @original = ActionDispatch::Response.default_headers
  @defaults = { 'A' => '1', 'B' => '2' }
  ActionDispatch::Response.default_headers = @defaults
  super
end
setup()
# File actionpack/test/controller/test_case_test.rb, line 1034
def setup
  super
  @controller = TestController.new
  @request.env['PATH_INFO'] = nil
  @routes = ActionDispatch::Routing::RouteSet.new.tap do |r|
    r.draw do
      ActiveSupport::Deprecation.silence do
        get ':controller(/:action(/:id))'
      end
    end
  end
end