Sha256: 8816d01d05e295294c84990a21ed2d9bdc550afcfdead8d66a75a1bc97bb45c9
Contents?: true
Size: 387 Bytes
Versions: 8
Compression:
Stored size: 387 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 } from { Date.current } to { Date.current.advance(months: 1) } item_status { Comee::Core::BackOrderItem.item_statuses[:available] } end end
Version data entries
8 entries across 8 versions & 1 rubygems