Permalink
Browse files

Call super here to allow SessionHash initialize new stuff for us

  • Loading branch information...
1 parent 93b7da4 commit 4131fd7c796a0941eb63cb2215da0aebd92dbfe1 @spastorino spastorino committed Jun 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/test_case.rb
@@ -210,7 +210,7 @@ class TestSession < Rack::Session::Abstract::SessionHash #:nodoc:
DEFAULT_OPTIONS = Rack::Session::Abstract::ID::DEFAULT_OPTIONS
def initialize(session = {})
- @env, @by = nil, nil
+ super(nil, nil)
replace(session.stringify_keys)
@loaded = true
end

0 comments on commit 4131fd7

Please sign in to comment.