Skip to content

Commit

Permalink
Use session= writer methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Apr 27, 2009
1 parent 8aaed3d commit f7d7dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_controller/testing/process.rb
Expand Up @@ -14,8 +14,8 @@ def initialize(env = {})
super(Rack::MockRequest.env_for("/").merge(env))

@query_parameters = {}
@env['rack.session'] = TestSession.new
@env['rack.session.options'] = TestSession::DEFAULT_OPTIONS.merge(:id => ActiveSupport::SecureRandom.hex(16))
self.session = TestSession.new
self.session_options = TestSession::DEFAULT_OPTIONS.merge(:id => ActiveSupport::SecureRandom.hex(16))

initialize_default_values
initialize_containers
Expand Down

0 comments on commit f7d7dc5

Please sign in to comment.