Sha256: 81881acb73b8109b4ecccef5c52900c2721199cf94e46b249da78587bc6b5f82
Contents?: true
Size: 390 Bytes
Versions: 27
Compression:
Stored size: 390 Bytes
Contents
require 'test_helper' module SessionTest class PerishabilityTest < ActiveSupport::TestCase def test_after_save ben = users(:ben) old_perishable_token = ben.perishable_token session = UserSession.create(ben) assert_not_equal old_perishable_token, ben.perishable_token drew = employees(:drew) assert UserSession.create(drew) end end end
Version data entries
27 entries across 27 versions & 9 rubygems