Sha256: 2dc38599dab30a05b8752b722d4c73643767d3439fe0613345539daf0a89cbd8

Contents?: true

Size: 318 Bytes

Versions: 12

Compression:

Stored size: 318 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 }
    item_status { Comee::Core::BackOrderItem.item_statuses[:available] }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
comee_core-0.1.21 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.20 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.19 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.18 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.17 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.16 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.15 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.14 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.13 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.12 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.11 spec/factories/comee/core/back_order_items.rb
comee_core-0.1.10 spec/factories/comee/core/back_order_items.rb