Sha256: abf40f4bf42ead62a6e92f8f9b0b8eed3cad9d3164619a6be5f171e5ad6eb66d
Contents?: true
Size: 711 Bytes
Versions: 5
Compression:
Stored size: 711 Bytes
Contents
shared_examples 'Unidom::Order::Concerns::AsOrderPlacer' do |model_attributes| context do order_1_attributes = { taker_id: SecureRandom.uuid, taker_type: 'Unidom::Order::Taker::Mock', number: SecureRandom.hex(6), purchase_amount: 10.00, aggregate_amount: 10.00 } order_1_attributes = { taker_id: SecureRandom.uuid, taker_type: 'Unidom::Order::Taker::Mock', number: SecureRandom.hex(6), purchase_amount: 20.00, aggregate_amount: 20.00 } it_behaves_like 'has_many', model_attributes, :placed_orders, Unidom::Order::Order, [ order_1_attributes, order_1_attributes ] end end
Version data entries
5 entries across 5 versions & 1 rubygems