Sha256: d535559c897fdc2adcee24ae9b6e32cb98cc5077ecdcc59690ecc6b5cd153b0f

Contents?: true

Size: 263 Bytes

Versions: 10

Compression:

Stored size: 263 Bytes

Contents

FactoryBot.define do
  factory :purchase_order, class: "Comee::Core::PurchaseOrder" do
    supplier
    order_date { Date.current }
    status { 0 }
    delivery_address { "Korsu warehouse address" }
    delivery_date { Date.current.advance(days: 10) }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
comee_core-0.2.44 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.43 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.42 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.41 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.40 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.39 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.38 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.37 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.36 spec/factories/comee/core/purchase_orders.rb
comee_core-0.2.35 spec/factories/comee/core/purchase_orders.rb