Sha256: 1450ea23bf2ad21c6fd30d44193272fc3ed2a1c8df82d64235f1024cd81e1a0e
Contents?: true
Size: 677 Bytes
Versions: 3
Compression:
Stored size: 677 Bytes
Contents
shared_examples 'Unidom::ArticleNumber::Concerns::AsBarcode' do |model_attributes| marking_1_attribtues = { marked_id: SecureRandom.uuid, marked_type: 'Unidom::ArticleNumber::Marked::Mock', marker_id: SecureRandom.uuid, marker_type: 'Unidom::ArticleNumber::Marker::Mock' } marking_2_attribtues = { marked_id: SecureRandom.uuid, marked_type: 'Unidom::ArticleNumber::Marked::Mock', marker_id: SecureRandom.uuid, marker_type: 'Unidom::ArticleNumber::Marker::Mock' } it_behaves_like 'has_many', model_attributes, :markings, Unidom::ArticleNumber::Marking, [ marking_1_attribtues, marking_2_attribtues ] end
Version data entries
3 entries across 3 versions & 1 rubygems