Sha256: 3b1fac4a3348d161abb7835ec753aee658ef7dee7d1fb77770cd9109806cf590
Contents?: true
Size: 526 Bytes
Versions: 5
Compression:
Stored size: 526 Bytes
Contents
require_relative 'test_helper' class InitializerTest < ActiveSupport::TestCase test 'password set correctly' do assert_equal 1.year, Credentials::Password.expires_after end test 'e-mail tokens set correctly' do assert_equal 3.days, Tokens::EmailVerification.expires_after assert_equal 3.days, Tokens::PasswordReset.expires_after end test 'cookie sessions set correctly' do assert_equal 14.days, Tokens::SessionUid.expires_after assert_equal 1.hour, Tokens::SessionUid.updates_after end end
Version data entries
5 entries across 5 versions & 1 rubygems