method
new
new(env = {})
public
Hide source
# File actionpack/lib/action_dispatch/testing/test_request.rb, line 16 def initialize(env = {}) env = Rails.application.env_config.merge(env) if defined?(Rails.application) && Rails.application super(default_env.merge(env)) end