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

Version Path
comee_core-0.3.62 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.61 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.60 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.59 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.58 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.57 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.56 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.55 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.54 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.53 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.51 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.50 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.49 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.48 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.47 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.46 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.45 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.44 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.43 spec/factories/comee/core/back_order_items.rb
comee_core-0.3.42 spec/factories/comee/core/back_order_items.rb