private Method

TestRequest.initialize_default_values

There's no documentation for this item.

Source Code

# File action_controller/test_process.rb, line 134
def initialize_default_values
  @host                    = "test.host"
  @request_uri             = "/"
  @user_agent              = "Rails Testing"
  self.remote_addr         = "0.0.0.0"        
  @env["SERVER_PORT"]      = 80
  @env['REQUEST_METHOD']   = "GET"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.