Sha256: 1606cdf93798dd80525d772fd4479c19ef2168332e543b6d2940ff5bcd7025e6
Contents?: true
Size: 550 Bytes
Versions: 76
Compression:
Stored size: 550 Bytes
Contents
FactoryBot.define do factory :shipment_item, class: "Comee::Core::ShipmentItem" do sales_order_item quantity { 50 } shipment_status { Comee::Core::ItemStatus::INITIALIZED } status { Comee::Core::ShipmentItem.statuses[:active] } handover_date { Date.current.advance(days: 3) } delivery_date { Date.current.advance(days: 6) } pallet_no { Faker::Alphanumeric.alpha(number: 10) } consignee { Faker::Name.name } order_number { sales_order_item.sales_order.order_number } package_type { "PX - Palette" } end end
Version data entries
76 entries across 76 versions & 1 rubygems