2019-08-18 18:51:25 +02:00
|
|
|
FactoryBot.define do
|
|
|
|
|
factory :user do
|
2019-08-20 14:26:26 +02:00
|
|
|
sequence(:email) { |n| "user#{n}@example.com" }
|
2019-08-18 18:51:25 +02:00
|
|
|
|
2019-08-20 14:26:26 +02:00
|
|
|
full_name { "First Last" }
|
|
|
|
|
password { "password" }
|
2019-08-18 18:51:25 +02:00
|
|
|
end
|
|
|
|
|
end
|