8 lines
146 B
Ruby
8 lines
146 B
Ruby
FactoryBot.define do
|
|
factory :email do
|
|
user
|
|
email { generate(:email_alias) }
|
|
|
|
trait(:confirmed) { confirmed_at Time.now }
|
|
end
|
|
end
|