Sha256: e66bba187d2c52215b421df68f62b207d5eda39270f91fb0489cfc5370a91324
Contents?: true
Size: 439 Bytes
Versions: 230
Compression:
Stored size: 439 Bytes
Contents
FactoryBot.define do factory :back_order_item, class: "Comee::Core::BackOrderItem" do back_order product requested_quantity { 5 } requested_unit_price { 50 } supplier_quantity { 5 } supplier_unit_price { 55 } delivery_date { Date.current.advance(days: 6) } from { Date.current } to { Date.current.advance(months: 1) } item_status { Comee::Core::BackOrderItem.item_statuses[:available] } end end
Version data entries
230 entries across 230 versions & 1 rubygems