Sha256: 5188eed1bb7499bafb2190a0829a18d21bb2ef4d81914e30c3dd8848d8961a2b

Contents?: true

Size: 363 Bytes

Versions: 26

Compression:

Stored size: 363 Bytes

Contents

FactoryBot.define do
  factory :purchase_requisition, class: "Comee::Core::PurchaseRequisition" do
    requisition_no { Faker::Alphanumeric.alpha(number: 10) }
    requisition_date { Date.current }
    delivery_date { Date.current.advance(days: 10) }
    remark { Faker::Lorem.sentence }
    status { Comee::Core::PurchaseRequisition.statuses[:draft] }
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
comee_core-0.2.66 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.65 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.64 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.63 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.62 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.61 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.60 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.59 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.58 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.57 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.56 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.55 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.54 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.53 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.52 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.51 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.50 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.49 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.48 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.47 spec/factories/comee/core/purchase_requisitions.rb