mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
331 B
17 lines
331 B
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :user do
|
|
account
|
|
first_name { Faker::Name.first_name }
|
|
last_name { Faker::Name.last_name }
|
|
password { 'password' }
|
|
role { User::ADMIN_ROLE }
|
|
email { Faker::Internet.email }
|
|
|
|
trait :with_partnership do
|
|
account { nil }
|
|
end
|
|
end
|
|
end
|