Sha256: ce992a842d08a014c11cc98d23598e01dce8178ec1fcc8bb94cd544f99a9ea29

Contents?: true

Size: 343 Bytes

Versions: 5

Compression:

Stored size: 343 Bytes

Contents

FactoryBot.define do
  factory :purchase_requisition_item, class: "Comee::Core::PurchaseRequisitionItem" do
    product
    unit
    supplier
    purchase_requisition
    purchase_order_item { nil }
    quantity { 10 }
    price { 15 }
    processing_status { Comee::Core::PurchaseRequisitionItem.processing_statuses[:unprocessed] }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
comee_core-0.2.40 spec/factories/comee/core/purchase_requisition_items.rb
comee_core-0.2.39 spec/factories/comee/core/purchase_requisition_items.rb
comee_core-0.2.38 spec/factories/comee/core/purchase_requisition_items.rb
comee_core-0.2.37 spec/factories/comee/core/purchase_requisition_items.rb
comee_core-0.2.36 spec/factories/comee/core/purchase_requisition_items.rb