Files
openfoodnetwork/spec/factories/customer_factory.rb
2022-02-16 10:23:24 +11:00

12 lines
240 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :customer, class: Customer do
email { generate(:random_email) }
enterprise
code { SecureRandom.base64(150) }
user
bill_address { create(:address) }
end
end