class ActionController::TestSession
:nodoc:
@store object, which does not exist for the TestSession class.
Methods #destroy and #load! are overridden to avoid calling methods on the
def destroy
def destroy clear end
def exists?
def exists? true end
def fetch(key, *args, &block)
def fetch(key, *args, &block) @data.fetch(key.to_s, *args, &block) end
def initialize(session = {})
def initialize(session = {}) super(nil, nil) @id = SecureRandom.hex(16) @data = stringify_keys(session) @loaded = true end
def keys
def keys @data.keys end
def load!
def load! @id end
def values
def values @data.values end