Sha256: 2f52738f87566031468cb8f4a2c15a4341ce5449342a9ab8eb6db7599a58097a

Contents?: true

Size: 294 Bytes

Versions: 118

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :admissions_request_reason, class: "Renalware::Admissions::RequestReason" do
    initialize_with do
      Renalware::Admissions::RequestReason.find_or_create_by!(description: description)
    end
    description { "AKI" }
  end
end

Version data entries

118 entries across 118 versions & 1 rubygems

Version Path
renalware-core-2.0.147 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.146 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.145 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.144 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.143 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.142 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.141 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.140 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.139 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.138 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.137 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.136 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.135 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.134 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.133 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.132 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.131 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.130 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.129 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.128 spec/factories/admissions/request_reasons.rb