Sha256: ec87a174031d4900cb866d4fe379add5d11d3ced1b18af917de50a8a4bbf6e99
Contents?: true
Size: 442 Bytes
Versions: 118
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true FactoryBot.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
118 entries across 118 versions & 1 rubygems