Add a time of confirmation to the User factory

Make all users from the factory confirmed by default in an effor to save
some time and work.
This commit is contained in:
Petko Bordjukov 2014-11-10 14:05:14 +02:00
parent 698dd349dc
commit e8476a2623
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ FactoryGirl.define do
factory :user do
password 'password'
password_confirmation 'password'
confirmed_at Time.now - 15.minutes
email
end
end