Sha256: 03174cbc45c3ba66f23c9b3c192b25bff03f04b43bce2c30c3244ba0cdef9620
Contents?: true
Size: 422 Bytes
Versions: 50
Compression:
Stored size: 422 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper.rb' 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
50 entries across 50 versions & 15 rubygems