Sha256: 83898a75ba449b3bbfaae3e9cb85fa98d829daa939d349166468b691936371a7
Contents?: true
Size: 764 Bytes
Versions: 6
Compression:
Stored size: 764 Bytes
Contents
FactoryBot.define do factory :user do first_name { 'FirstName' } last_name { 'LastName' } email { 'email@test.com' } password { 'ComplexPass1!' } password_confirmation { password } factory :admin do first_name { 'FirstName' } last_name { 'LastName' } email { 'admin@example.com' } admin { true } end factory :existing do first_name { 'FirstName' } last_name { 'LastName' } email { 'existing@example.com' } end factory :designer do first_name { 'FirstName' } last_name { 'LastName' } email { '' } designer { true } end factory :non_admin do first_name { 'FirstName' } last_name { 'LastName' } admin { false } end end end
Version data entries
6 entries across 6 versions & 1 rubygems