Methods
- A
- C
- H
- I
- N
- P
- R
- U
Constants
DEFAULT_ENV | = | Rack::MockRequest.env_for('/') |
Class Public methods
# File actionpack/lib/action_dispatch/testing/test_request.rb, line 14 def initialize(env = {}) env = Rails.application.env_config.merge(env) if defined?(Rails.application) super(DEFAULT_ENV.merge(env)) self.host = 'test.host' self.remote_addr = '0.0.0.0' self.user_agent = 'Rails Testing' end
Instance Public methods