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.105 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.104 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.103 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.102 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.101 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.100 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.99 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.98 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.97 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.96 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.95 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.94 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.93 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.92 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.91 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.90 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.89 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.88 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.87 spec/factories/transplants/modality_descriptions.rb
renalware-core-2.0.86 spec/factories/transplants/modality_descriptions.rb