summaryrefslogtreecommitdiff
path: root/spec/factories/company.rb
blob: df805cab09156bea131ee8f8447078943ce84c84 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

FactoryBot.define do
  factory :company, class: 'Company' do
    name { Faker::Company.name }
    short_name { SecureRandom.hex(6) }
    country { ISO3166::Country.codes.sample }
  end
end