Namespace
Methods
A
C
R
T
Class Public methods
call(env)
# File actionpack/test/controller/integration_test.rb, line 778
def self.call(env)
  routes.call(env)
end
routes()
# File actionpack/test/controller/integration_test.rb, line 774
def self.routes
  @routes ||= ActionDispatch::Routing::RouteSet.new
end
Instance Public methods
app()
# File actionpack/test/controller/integration_test.rb, line 782
def app
  self.class
end
test_can_override_default_url_options()
# File actionpack/test/controller/integration_test.rb, line 813
def test_can_override_default_url_options
  original_host = default_url_options.dup

  default_url_options[:host] = "foobar.com"
  assert_equal "http://foobar.com/foo", foos_url

  get "/bar"
  assert_response :success
  assert_equal "http://foobar.com/foo", foos_url
ensure
  ActionDispatch::Integration::Session.default_url_options = self.default_url_options = original_host
end