summaryrefslogtreecommitdiff
path: root/spec/factories/user_account.rb
blob: 1691e0c37041ddc4fddd955960ed66fdbb4cc9ac (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

FactoryBot.define do
  factory :user_account, class: 'UserAccount' do
    email { Faker::Internet.email }
    first_name { Faker::Name.first_name }
    last_name  { Faker::Name.last_name }
    password { SecureRandom.hex(32) }
    role { 'regular' }
  end
end