Sha256: b949fa4261a31d803a3c84a14fecb92ebac7d43bbdc2caa4fb53db2558d32a05
Contents?: true
Size: 721 Bytes
Versions: 4
Compression:
Stored size: 721 Bytes
Contents
shared_examples 'Unidom::Order::Concerns::AsOrderTaker' do |model_attributes| context do order_1_attributes = { placer_id: SecureRandom.uuid, placer_type: 'Unidom::Order::Placer::Mock', number: SecureRandom.hex(6), purchase_amount: 10.00, aggregate_amount: 10.00 } order_1_attributes = { placer_id: SecureRandom.uuid, placer_type: 'Unidom::Order::Placer::Mock', number: SecureRandom.hex(6), purchase_amount: 20.00, aggregate_amount: 20.00 } it_behaves_like 'has_many', model_attributes, :taken_orders, Unidom::Order::Order, [ order_1_attributes, order_1_attributes ] end end
Version data entries
4 entries across 4 versions & 1 rubygems