Sha256: 0e7c097f4d9f530c49d9c32b3c1f5f1e4f0f8a2ae1570f2e4906de65839b21f0

Contents?: true

Size: 310 Bytes

Versions: 10

Compression:

Stored size: 310 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
comee_core-0.2.40 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.39 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.38 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.37 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.36 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.35 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.34 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.33 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.32 spec/factories/comee/core/purchase_requisitions.rb
comee_core-0.2.31 spec/factories/comee/core/purchase_requisitions.rb