Sha256: 18c50f61d21d8efe22e8d45eed5f455f82a4ec398c1d542fa0b0e1f53a38f10e

Contents?: true

Size: 416 Bytes

Versions: 22

Compression:

Stored size: 416 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) }
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
comee_core-0.2.0 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.99 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.98 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.97 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.96 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.95 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.94 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.93 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.92 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.91 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.90 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.89 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.88 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.87 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.86 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.85 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.84 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.83 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.82 spec/factories/comee/core/shipment_items.rb
comee_core-0.1.81 spec/factories/comee/core/shipment_items.rb