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.1.1 spec/factories/admissions/request_reasons.rb
renalware-core-2.1.0 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.167 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.166 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.165 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.164 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.163 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.162 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.161 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.160 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.159 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.158 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.157 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.156 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.155 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.153 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.152 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.151 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.149 spec/factories/admissions/request_reasons.rb
renalware-core-2.0.148 spec/factories/admissions/request_reasons.rb