BigW Consortium Gitlab

emails.rb 147 Bytes
Newer Older
1 2 3
FactoryGirl.define do
  factory :email do
    user
4
    email { generate(:email_alias) }
5 6

    trait(:confirmed) { confirmed_at Time.now }
7 8
  end
end