Sha256: 9fcdd52a3cc024654aab5278175909b1a87bee76de88f8c9389d63a7df4746cf
Contents?: true
Size: 692 Bytes
Versions: 98
Compression:
Stored size: 692 Bytes
Contents
FactoryBot.define do factory :user do name { 'User' } email { 'email@test.com' } login { 'user' } password { 'password' } password_confirmation { password } factory :admin do name { 'Admin' } login { 'admin' } email { 'admin@example.com' } admin { true } end factory :existing do name { 'Existing' } login { 'existing' } email { 'existing@example.com' } end factory :designer do name { 'Designer' } login { 'designer' } email { '' } designer { true } end factory :non_admin do name { 'Non Admin' } login { 'non_admin' } admin { false } end end end
Version data entries
98 entries across 98 versions & 1 rubygems