Sha256: a33079da87b8ebc290e6a729f6015ca7ae1383bcce85554a9a5d2c18e28640d9
Contents?: true
Size: 752 Bytes
Versions: 3
Compression:
Stored size: 752 Bytes
Contents
shared_examples 'Unidom::Contact::Concerns::AsSubscriber' do |model_attributes| context do contact_subscription_1_attribtues = { contact_id: SecureRandom.uuid, contact_type: 'Unidom::Contact::Contact::Mock', name: 'Name #1', grade: 5, priority: 2 } contact_subscription_2_attribtues = { contact_id: SecureRandom.uuid, contact_type: 'Unidom::Contact::Contact::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