Sha256: d2a32a872bc9c87f3d3d2466e2fa8d48693f3cdc0a298d665cb2e61c0dc7be85

Contents?: true

Size: 355 Bytes

Versions: 29

Compression:

Stored size: 355 Bytes

Contents

FactoryBot.define do
  factory :purchase_order, class: "Comee::Core::PurchaseOrder" do
    po_number { Faker::Alphanumeric.alpha(number: 20) }
    supplier
    order_date { Date.current }
    status { 0 }
    delivery_address { "Korsu warehouse address" }
    delivery_date { Date.current.advance(days: 10) }
    terms { Faker::Lorem.sentence }
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
comee_core-0.2.77 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.76 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.75 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.70 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.69 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.68 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.67 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.66 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.65 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.64 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.63 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.62 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.61 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.60 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.59 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.58 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.57 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.56 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.55 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.54 spec/factories/comee/core/purchase_orders.rb