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