spec/factories/person_factories.rb in artfully_ose-1.2.0.pre.24 vs spec/factories/person_factories.rb in artfully_ose-1.2.0.pre.26
- old
+ new
@@ -3,9 +3,12 @@
email { Faker::Internet.email}
first_name { Faker::Name.first_name }
last_name { Faker::Name.last_name }
middle_name { Faker::Name.first_name }
suffix { rand(100) < 10 ? %w{md sr jr ii iii iv esq pd vd}.sample : "" }
+ birth_day "8"
+ birth_month "3"
+ birth_year "1985"
organization
end
factory :individual, :parent => :person, :class => "Individual" do
type "Individual"