changed user factory
This commit is contained in:
parent
652050ef43
commit
d4115538b1
|
@ -2,7 +2,7 @@ FactoryGirl.define do
|
||||||
factory :user do |u|
|
factory :user do |u|
|
||||||
u.screen_name { Faker::Internet.user_name 0..16, %w(_) }
|
u.screen_name { Faker::Internet.user_name 0..16, %w(_) }
|
||||||
u.email { Faker::Internet.email }
|
u.email { Faker::Internet.email }
|
||||||
u.password { Faker::Internet.password }
|
u.password { "P4s5w0rD" }
|
||||||
u.display_name { Faker::Name.name }
|
u.display_name { Faker::Name.name }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue