creddit/spec/factories/user_factory.rb

8 lines
179 B
Ruby
Raw Normal View History

2015-07-08 15:17:37 -04:00
FactoryGirl.define do
factory :user do
username { Faker::Internet.user_name }
password { Faker::Internet.password(8, 50) }
email { Faker::Internet.email }
end
end