debian-mirror-gitlab/spec/factories/emails.rb
2018-03-17 18:26:18 +05:30

8 lines
146 B
Ruby

FactoryBot.define do
factory :email do
user
email { generate(:email_alias) }
trait(:confirmed) { confirmed_at Time.now }
end
end