Methods
S
U
W
Instance Public methods
url_for(options = {})
# File actionpack/test/dispatch/request_test.rb, line 5
def url_for(options = {})
  options.reverse_merge!(:host => 'www.example.com')
  ActionDispatch::Http::URL.url_for(options)
end
Instance Protected methods
stub_request(env = {})
# File actionpack/test/dispatch/request_test.rb, line 684
def stub_request(env = {})
  ip_spoofing_check = env.key?(:ip_spoofing_check) ? env.delete(:ip_spoofing_check) : true
  @trusted_proxies ||= nil
  ip_app = ActionDispatch::RemoteIp.new(Proc.new { }, ip_spoofing_check, @trusted_proxies)
  tld_length = env.key?(:tld_length) ? env.delete(:tld_length) : 1
  ip_app.call(env)
  ActionDispatch::Http::URL.tld_length = tld_length
  ActionDispatch::Request.new(env)
end
with_set(*args)
# File actionpack/test/dispatch/request_test.rb, line 694
def with_set(*args)
  args
end