Sha256: 03beaa05afe580ea3e9bad6a267717e5383702c653a41e6e8cea06f0c76cae0a

Contents?: true

Size: 622 Bytes

Versions: 81

Compression:

Stored size: 622 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

81 entries across 81 versions & 1 rubygems

Version Path
renalware-core-2.0.130 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.129 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.128 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.127 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.126 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.125 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.124 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.123 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.121 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.120 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.119 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.118 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.117 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.116 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.115 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.113 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.112 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.111 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.110 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.109 spec/factories/transplants/recipient_operations.rb