lib/healthcare_phony/doctor.rb in healthcare_phony-0.5.1 vs lib/healthcare_phony/doctor.rb in healthcare_phony-0.6.0

- old
+ new

@@ -17,9 +17,10 @@ else pre_check_npi = /1[0-9]{8}/.random_example.to_i (pre_check_npi.to_s + Helper.get_npi_check_digit(pre_check_npi).to_s).to_i end - @name = PersonName.new(degree: 'MD,DO') + init_args[:degree] = 'MD,DO' + @name = PersonName.new(init_args) end end end