Fix tests

This commit is contained in:
Yuki 2015-07-21 22:38:40 +05:30
parent cbbd629961
commit 7af0b73174
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ FactoryGirl.define do
u.sequence(:screen_name) { |n| "#{Faker::Internet.user_name 0..12, %w(_)}#{n}" } u.sequence(:screen_name) { |n| "#{Faker::Internet.user_name 0..12, %w(_)}#{n}" }
u.sequence(:email) { |n| "#{n}#{Faker::Internet.email}" } u.sequence(:email) { |n| "#{n}#{Faker::Internet.email}" }
u.password "P4s5w0rD" u.password "P4s5w0rD"
u.sequence(:confirmed_at) { Time.zone.now }
u.display_name { Faker::Name.name } u.display_name { Faker::Name.name }
end end
end end