Retrospring/spec/factories/users.rb

9 lines
238 B
Ruby
Raw Normal View History

2014-11-14 11:45:30 -08:00
FactoryGirl.define do
factory :user do |u|
u.screen_name { Faker::Internet.user_name 0..16, %w(_) }
u.email { Faker::Internet.email }
u.password { Faker::Internet.password }
u.display_name { Faker::Name.name }
end
end