Sha256: 687536d0c3d3a4d6cda868094012437839a9e8dd6763a647058004a928ec95b9
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 Bytes
Contents
require 'test_helper' class AuthorizationTest < ActiveSupport::TestCase context "The Authorization class" do should "have a list of attributes that are hashable" do expected_columns = %w( id uid token expires_at ).sort assert_equal expected_columns, Authorization.hashable_attributes.sort end should "have a reference to the users model" do assert_equal User, Authorization.user_model assert_equal 'users', Authorization.users_table_name end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
challah-1.1.1 | test/models/authorization_test.rb |