2014-07-28 14:15:08 +03:00
|
|
|
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
|
|
|
|
FactoryGirl.define do
|
|
|
|
sequence(:email) { |n| "user-#{n}@example.org" }
|
|
|
|
|
|
|
|
factory :user do
|
|
|
|
password 'password'
|
|
|
|
password_confirmation 'password'
|
2014-11-10 14:05:14 +02:00
|
|
|
confirmed_at Time.now - 15.minutes
|
2014-07-28 14:15:08 +03:00
|
|
|
email
|
|
|
|
end
|
|
|
|
end
|