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.87 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.86 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.85 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.84 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.83 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.82 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.81 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.80 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.79 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.78 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.77 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.76 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.75 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.74 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.73 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.72 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.71 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.70 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.69 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.68 spec/factories/transplants/recipient_operations.rb