Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/sorcery/test_helpers.rb
Overview
a patch to fix a bug in testing that happens when you ‘destroy’ a session twice. After the first destroy, the session is an ordinary hash, and then when destroy is called again there’s an exception.
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
6 7 8 |
# File 'lib/sorcery/test_helpers.rb', line 6 def destroy clear end |