Sha256: f89f76cd7dd9eff957b49080b1b5729591a3298b53fc9541b00655da6f2e1e95

Contents?: true

Size: 382 Bytes

Versions: 72

Compression:

Stored size: 382 Bytes

Contents

FactoryBot.define do
  factory :purchase_order, class: "Comee::Core::PurchaseOrder" do
    po_number { nil }
    order_reference { Faker::Alphanumeric.alpha(number: 8) }
    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

72 entries across 72 versions & 1 rubygems

Version Path
comee_core-0.3.51 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.50 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.49 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.48 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.47 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.46 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.45 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.44 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.43 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.42 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.41 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.40 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.39 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.38 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.37 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.36 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.35 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.34 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.33 spec/factories/comee/core/purchase_orders.rb
comee_core-0.3.32 spec/factories/comee/core/purchase_orders.rb