mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-16 00:20:00 +01:00
changed user factory
This commit is contained in:
parent
652050ef43
commit
d4115538b1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue