-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathidentity.rb
More file actions
44 lines (37 loc) · 954 Bytes
/
Copy pathidentity.rb
File metadata and controls
44 lines (37 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
require 'faker'
FactoryBot.define do
factory :identity do
transient do
school_count { 1 }
activity_flows_count { 1 }
end
first_name { Faker::Name.first_name }
last_name { Faker::Name.last_name }
date_of_birth { Faker::Date.birthday(min_age: 18, max_age: 65) }
trait :nsc_linda do
first_name { "Linda" }
last_name { "Cooper" }
date_of_birth { "1999-01-01" }
end
trait :nsc_lynette do
first_name { "Lynette" }
last_name { "Oyola" }
date_of_birth { "1988-10-24" }
end
trait :nsc_rick do
first_name { "Rick" }
last_name { "Banas" }
date_of_birth { "1979-08-18" }
end
trait :nsc_dominique do
first_name { "Dominique" }
last_name { "Ricardo" }
date_of_birth { "1978-01-12" }
end
trait :nsc_scott do
first_name { "Scott" }
last_name { "Tobin" }
date_of_birth { "1998-02-03" }
end
end
end