Sha256: d7281e7019d68320047eb3644bde84d0630bea64d4f046db82189c664d8853f5
Contents?: true
Size: 785 Bytes
Versions: 3
Compression:
Stored size: 785 Bytes
Contents
shared_examples 'Unidom::Contact::Concerns::AsContact' do |model_attributes| context do contact_subscription_1_attribtues = { subscriber_id: SecureRandom.uuid, subscriber_type: 'Unidom::Contact::Subscriber::Mock', name: 'Name #1', grade: 5, priority: 2 } contact_subscription_2_attribtues = { subscriber_id: SecureRandom.uuid, subscriber_type: 'Unidom::Contact::Subscriber::Mock', name: 'Name #2', grade: 2, priority: 4 } it_behaves_like 'has_many', model_attributes, :contact_subscriptions, Unidom::Contact::ContactSubscription, [ contact_subscription_1_attribtues, contact_subscription_2_attribtues ] end end
Version data entries
3 entries across 3 versions & 1 rubygems