FactoryBot.define do factory :customer_order, class: "Comee::Core::CustomerOrder" do order_number { Faker::Alphanumeric.alpha(number: 8) } order_date { Date.current } client order_terms { Faker::Lorem.sentence } delivery_address { Faker::Address.full_address } invoice_address { Faker::Address.full_address } status { 0 } end end