Sha256: 78e375e3502d100530bce1c8b87be46d2cd9e2604aacf557b4565d865345e389
Contents?: true
Size: 909 Bytes
Versions: 8
Compression:
Stored size: 909 Bytes
Contents
FactoryBot.define do factory :modality_description, class: "Renalware::Modalities::Description" do name "unspecific modality description not set in factory" initialize_with { Renalware::Modalities::Description.find_or_create_by(name: name) } trait :pd do name "PD" type "Renalware::PD::ModalityDescription" end trait :hd do name "HD" type "Renalware::HD::ModalityDescription" end trait :transplant do name "Transplant" type "Renalware::Transplants::RecipientModalityDescription" end trait :low_clearance do name "Low Clearance" type "Renalware::LowClearance::ModalityDescription" end trait :death do name "Death" type "Renalware::Deaths::ModalityDescription" end trait :live_donor do name "Live Donor" type "Renalware::Transplants::DonorModalityDescription" end end end
Version data entries
8 entries across 8 versions & 1 rubygems