method
new
new(session = {})
public
Hide source
# File actionpack/lib/action_controller/test_case.rb, line 185 def initialize(session = {}) super(nil, nil) @id = Rack::Session::SessionId.new(SecureRandom.hex(16)) @data = stringify_keys(session) @loaded = true end