Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Initialize @cookies.
  • Loading branch information
miloops committed Sep 27, 2010
1 parent 583ddf2 commit 1ed18fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionpack/lib/action_dispatch/testing/test_request.rb
Expand Up @@ -13,6 +13,7 @@ def initialize(env = {})
env = Rails.application.env_config.merge(env) if defined?(Rails.application)
super(DEFAULT_ENV.merge(env))

@cookies = nil
self.host = 'test.host'
self.remote_addr = '0.0.0.0'
self.user_agent = 'Rails Testing'
Expand Down

0 comments on commit 1ed18fc

Please sign in to comment.