Fix tests
This commit is contained in:
parent
cbbd629961
commit
7af0b73174
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue