diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-26 17:19:14 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-26 17:19:14 -0700 |
commit | f7d7dc5aa8a5facc357ed291819db23e3f3df9b6 (patch) | |
tree | 9a326c8aca70a9700447253e6cf26090618e44e5 /actionpack | |
parent | 8aaed3d456bad8a0bdf4789b69b41f7d817f981c (diff) | |
download | rails-f7d7dc5aa8a5facc357ed291819db23e3f3df9b6.tar.gz rails-f7d7dc5aa8a5facc357ed291819db23e3f3df9b6.tar.bz2 rails-f7d7dc5aa8a5facc357ed291819db23e3f3df9b6.zip |
Use session= writer methods
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/testing/process.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/testing/process.rb b/actionpack/lib/action_controller/testing/process.rb index 16275371ad..c532a67e78 100644 --- a/actionpack/lib/action_controller/testing/process.rb +++ b/actionpack/lib/action_controller/testing/process.rb @@ -14,8 +14,8 @@ module ActionController #:nodoc: 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 |