Sha256: fe13a5b31f39a30d486b84b61acba35f5dbea44281f1e68a4d74955338e24ae8
Contents?: true
Size: 364 Bytes
Versions: 27
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
27 entries across 27 versions & 9 rubygems