Sha256: d613714185502154f34bb7b559b31fad0190b38db474ccdc09de0470e5d0659c

Contents?: true

Size: 404 Bytes

Versions: 59

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

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

59 entries across 59 versions & 1 rubygems

Version Path
renalware-core-2.0.85 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.84 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.83 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.82 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.81 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.80 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.79 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.78 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.77 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.76 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.75 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.74 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.73 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.72 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.71 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.70 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.69 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.68 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.67 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.64 spec/factories/transplants/modality_descriptions.rb