Sha256: 96b9caa882e6418747fa5fb2b615f34e135efc49122d9d68d9d960ff561b51eb

Contents?: true

Size: 459 Bytes

Versions: 12

Compression:

Stored size: 459 Bytes

Contents

FactoryBot.define do
  factory :shipment_instruction_item, class: "Comee::Core::ShipmentInstructionItem" do
    shipment_instruction
    shipment_item
    delivery_note_no { Faker::Alphanumeric.alpha(number: 10) }
    pallet_no { Faker::Alphanumeric.alpha(number: 10) }
    goods_issue_date { Date.current.advance(days: 3) }
    length { 5.0 }
    width { 3.0 }
    height { 1.5 }
    weight { 10.0 }
    quantity { 5.0 }
    unit
    price { 100 }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
comee_core-0.1.86 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.85 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.84 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.83 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.82 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.81 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.80 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.79 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.78 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.77 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.76 spec/factories/comee/core/shipment_instruction_items.rb
comee_core-0.1.75 spec/factories/comee/core/shipment_instruction_items.rb