From e8476a2623423d4bb57ace3333a52dbf34d92dfd Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 10 Nov 2014 14:05:14 +0200 Subject: [PATCH] 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. --- spec/factories/users.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/factories/users.rb b/spec/factories/users.rb index 4c3963e..2fe4679 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -6,6 +6,7 @@ FactoryGirl.define do factory :user do password 'password' password_confirmation 'password' + confirmed_at Time.now - 15.minutes email end end