Sha256: 0f98e39d6277f87fe83a590ce11d1621a7622ab89dc8386553005ea821bd6d50
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
FactoryGirl.define do factory :prescription, class: "Renalware::Medications::Prescription" do accountable patient drug dose_amount "20" dose_unit "milligram" medication_route frequency "daily" notes "with food" provider 0 prescribed_on 2.weeks.ago before(:create) { |prescription| prescription.treatable ||= prescription.patient } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
renalware-core-2.0.0.pre.beta9 | spec/factories/medications/prescription.rb |
renalware-core-2.0.0.pre.beta8 | spec/factories/medications/prescription.rb |