Sha256: d31bd8f0de31d71cb38cb7f7af83fad05d376135a719d998d58b427243479e32
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper.rb' module SessionTests class PasswordResetTest < ActiveSupport::TestCase def test_after_save ben = users(:ben) old_password_reset_token = ben.password_reset_token session = UserSession.create(ben) assert_not_equal old_password_reset_token, ben.password_reset_token drew = employees(:drew) assert UserSession.create(drew) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authlogic-1.2.0 | test/session_tests/password_reset_test.rb |