Sha256: 4c9ad038c165f908ac86450d1c160a6e73d4a91ec08ac87e80b3fb05fec990c5
Contents?: true
Size: 724 Bytes
Versions: 75
Compression:
Stored size: 724 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :hd_profile, class: "Renalware::HD::Profile" do accountable patient active { true } association :hospital_unit, factory: :hospital_unit association :dialysate, factory: :hd_dialysate prescriber { accountable_actor } document { { dialysis: { hd_type: :hd } } } trait :hd do # noop end trait :hdf_pre do document { { dialysis: { hd_type: :hdf_pre } } } end trait :hdf_post do document { { dialysis: { hd_type: :hdf_post } } } end end end
Version data entries
75 entries across 75 versions & 1 rubygems