Sha256: 52cbf05c7176914fb8983746537f80530b202befff67519a6e06425e78fd0a05

Contents?: true

Size: 557 Bytes

Versions: 239

Compression:

Stored size: 557 Bytes

Contents

FactoryBot.define do
  factory :back_order, class: "Comee::Core::BackOrder" do
    order_number { Faker::Alphanumeric.alpha(number: 10) }
    order_date { Date.current }
    delivery_date { Date.current.advance(months: 1) }
    supplier
    terms { {payment_terms: "NET 30 days", currency: "Euro", freight_terms: "FOB"} }
    delivery_address { Faker::Address.full_address }
    invoice_address { Faker::Address.full_address }
    status { Comee::Core::BackOrder.statuses[:draft] }
    price_changed { false }
    remark { Faker::Lorem.sentence }
  end
end

Version data entries

239 entries across 239 versions & 1 rubygems

Version Path
comee_core-0.3.1 spec/factories/comee/core/back_orders.rb
comee_core-0.3.0 spec/factories/comee/core/back_orders.rb
comee_core-0.2.99 spec/factories/comee/core/back_orders.rb
comee_core-0.2.98 spec/factories/comee/core/back_orders.rb
comee_core-0.2.97 spec/factories/comee/core/back_orders.rb
comee_core-0.2.96 spec/factories/comee/core/back_orders.rb
comee_core-0.2.95 spec/factories/comee/core/back_orders.rb
comee_core-0.2.94 spec/factories/comee/core/back_orders.rb
comee_core-0.2.93 spec/factories/comee/core/back_orders.rb
comee_core-0.2.92 spec/factories/comee/core/back_orders.rb
comee_core-0.2.91 spec/factories/comee/core/back_orders.rb
comee_core-0.2.90 spec/factories/comee/core/back_orders.rb
comee_core-0.2.89 spec/factories/comee/core/back_orders.rb
comee_core-0.2.88 spec/factories/comee/core/back_orders.rb
comee_core-0.2.87 spec/factories/comee/core/back_orders.rb
comee_core-0.2.86 spec/factories/comee/core/back_orders.rb
comee_core-0.2.85 spec/factories/comee/core/back_orders.rb
comee_core-0.2.84 spec/factories/comee/core/back_orders.rb
comee_core-0.2.83 spec/factories/comee/core/back_orders.rb
comee_core-0.2.82 spec/factories/comee/core/back_orders.rb