Sha256: 85985f472362991ff6fbc4868f96958325bea63c48dfad3a4c4f93ad395a0062

Contents?: true

Size: 369 Bytes

Versions: 13

Compression:

Stored size: 369 Bytes

Contents

FactoryBot.define do
  factory :transplant_donor_modality_description,
          class: "Renalware::Transplants::DonorModalityDescription" do
    name "Live Donor"
  end

  factory :transplant_modality_description, class: "Renalware::HD::ModalityDescription" do
    initialize_with { Renalware::HD::ModalityDescription.find_or_create_by(name: "Transplant") }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc10 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc9 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc8 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc7 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc6 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc5 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc4 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc3 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.rc1 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.beta12 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.beta11 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.0.pre.beta10 spec/factories/transplants/modality_descriptions.rb