summaryrefslogtreecommitdiff
path: root/spec/factories/emails.rb
blob: c9ab87a15aaa06e5f1a9509741f2f336a7e5e5a5 (plain)
1
2
3
4
5
6
7
8
FactoryGirl.define do
  factory :email do
    user
    email { generate(:email_alias) }

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