Sha256: f71b0c87421a2a0b3b8df81a4d46c06b97c05fc8a0ed469d4fa0ee11710d8ab6
Contents?: true
Size: 473 Bytes
Versions: 18
Compression:
Stored size: 473 Bytes
Contents
require 'test_helper' module SessionTest class PersistenceTest < ActiveSupport::TestCase def test_find ben = users(:ben) assert !UserSession.find http_basic_auth_for(ben) { assert UserSession.find } set_cookie_for(ben) assert UserSession.find unset_cookie set_session_for(ben) session = UserSession.find assert session end def test_persisting # tested thoroughly in test_find end end end
Version data entries
18 entries across 18 versions & 9 rubygems