Sha256: fada2b18410f96e3248c557779c0900c7722a0fde6f7c6c6e95cd8ee9b3bcdbe
Contents?: true
Size: 364 Bytes
Versions: 2
Compression:
Stored size: 364 Bytes
Contents
require 'test_helper' module SessionTest class UnauthorizedRecordTest < ActiveSupport::TestCase def test_credentials ben = users(:ben) session = UserSession.new session.credentials = [ben] assert_equal ben, session.unauthorized_record assert_equal({ unauthorized_record: "<protected>" }, session.credentials) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authlogic-4.0.1 | test/session_test/unauthorized_record_test.rb |
authlogic-4.0.0 | test/session_test/unauthorized_record_test.rb |