Sha256: ab496b0dcf45814a052db01d9e18581a58f960bb637e0048eb3b239a97f4b0fe

Contents?: true

Size: 624 Bytes

Versions: 37

Compression:

Stored size: 624 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :transplant_recipient_operation, class: "Renalware::Transplants::RecipientOperation" do
    patient { build(:transplant_patient) }

    performed_on                      { 1.week.ago }
    theatre_case_start_time           { "11:00" }
    donor_kidney_removed_from_ice_at  { 1.week.ago }
    kidney_perfused_with_blood_at     { 1.week.ago }
    operation_type                    { :kidney }
    cold_ischaemic_time               { "00:45" }
    warm_ischaemic_time               { "00:12" }

    association :hospital_centre, factory: :hospital_centre
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
renalware-core-2.1.1 spec/factories/transplants/recipient_operations.rb
renalware-core-2.1.0 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.167 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.166 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.165 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.164 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.163 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.162 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.161 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.160 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.159 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.158 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.157 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.156 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.155 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.153 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.152 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.151 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.149 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.148 spec/factories/transplants/recipient_operations.rb