gitlab-org--gitlab-foss/spec/factories/emails.rb

8 lines
147 B
Ruby

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