Sha256: 60634fd4cfb8e1a1fe28d5c876b41e9896f567d6cc46f4cdee446073060222f5
Contents?: true
Size: 787 Bytes
Versions: 8
Compression:
Stored size: 787 Bytes
Contents
describe Unidom::Visitor::Recognization, type: :model do before :each do end after :each do end context do model_attributes = { visitor_id: SecureRandom.uuid, visitor_type: 'Unidom::Visitor::Visitor::Mock', party_id: SecureRandom.uuid, party_type: 'Unidom::Visitor::Party::Mock', elemental: true } it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes user_attributes = {} guest_attributes = { platform_code: 'SITE', platform_specific_identification: '123456789012' } it_behaves_like 'belongs_to', model_attributes, :visitor, Unidom::Visitor::User, user_attributes it_behaves_like 'belongs_to', model_attributes, :visitor, Unidom::Visitor::Guest, guest_attributes end end
Version data entries
8 entries across 8 versions & 1 rubygems