Sha256: 417a5fdaae163b0a3ecb0d31baa335ee20b9c0068e5b2e075b53034ec54fd6bb
Contents?: true
Size: 826 Bytes
Versions: 2
Compression:
Stored size: 826 Bytes
Contents
shared_examples 'Unidom::Certificate::Concerns::AsCertification' do |model_attributes| context do certificating_1_attribtues = { certificator_id: SecureRandom.uuid, certificator_type: 'Unidom::Certificate::Certificator::Mock', certificated_id: SecureRandom.uuid, certificated_type: 'Unidom::Certificate::Certificated::Mock' } certificating_2_attribtues = { certificator_id: SecureRandom.uuid, certificator_type: 'Unidom::Certificate::Certificator::Mock', certificated_id: SecureRandom.uuid, certificated_type: 'Unidom::Certificate::Certificated::Mock' } it_behaves_like 'has_many', model_attributes, :certificatings, Unidom::Certificate::Certificating, [ certificating_1_attribtues, certificating_2_attribtues ] end end
Version data entries
2 entries across 2 versions & 1 rubygems