From 7af0b731749eece6c81ec1914b1743f95493f241 Mon Sep 17 00:00:00 2001 From: Yuki Date: Tue, 21 Jul 2015 22:38:40 +0530 Subject: [PATCH] Fix tests --- spec/factories/10_users.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/factories/10_users.rb b/spec/factories/10_users.rb index 8ef9101e..4fc0b1ae 100644 --- a/spec/factories/10_users.rb +++ b/spec/factories/10_users.rb @@ -3,6 +3,7 @@ FactoryGirl.define do u.sequence(:screen_name) { |n| "#{Faker::Internet.user_name 0..12, %w(_)}#{n}" } u.sequence(:email) { |n| "#{n}#{Faker::Internet.email}" } u.password "P4s5w0rD" + u.sequence(:confirmed_at) { Time.zone.now } u.display_name { Faker::Name.name } end end