Sha256: 7b2a82854ae74811be0a9929f056a285e1b0365f11ac3e906698b61f3b4590b0
Contents?: true
Size: 1009 Bytes
Versions: 9
Compression:
Stored size: 1009 Bytes
Contents
shared_examples 'Unidom::Action::Concerns::AsObsolescerParty' do |model_attributes| context do obsolescing_1_attributes = { obsolesced_id: SecureRandom.uuid, obsolesced_type: 'Unidom::Action::Obsolesced::Mock', obsolescer_visitor_id: SecureRandom.uuid, obsolescer_visitor_type: 'Unidom::Action::ObsolescerVisitor::Mock', reason_id: SecureRandom.uuid, obsolescence_code: 'OBSL' } obsolescing_2_attributes = { obsolesced_id: SecureRandom.uuid, obsolesced_type: 'Unidom::Action::Obsolesced::Mock', obsolescer_visitor_id: SecureRandom.uuid, obsolescer_visitor_type: 'Unidom::Action::ObsolescerVisitor::Mock', reason_id: SecureRandom.uuid, obsolescence_code: 'RCVR' } it_behaves_like 'has_many', model_attributes, :obsolesced_obsolescings, Unidom::Action::Obsolescing, [ obsolescing_1_attributes, obsolescing_2_attributes ] end end
Version data entries
9 entries across 9 versions & 1 rubygems