Sha256: 83b0a3006ff71da8535e2a71411f37fa3164bdb7c5ee080b4798b8a4e6ade970
Contents?: true
Size: 345 Bytes
Versions: 3
Compression:
Stored size: 345 Bytes
Contents
FactoryBot.define do factory :user, class: 'User' do first_name { FFaker::Name.first_name } middle_name { FFaker::Name.name } last_name { FFaker::Name.last_name } password { FFaker::Internet.password } email { FFaker::Internet.email } gender { %w[male,female].sample } date_of_birth { FFaker::Time.date } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sis_core-1.0.5 | spec/factories/users.rb |
sis_core-1.0.4 | spec/factories/users.rb |
sis_core-1.0.3 | spec/factories/users.rb |