Sha256: 768e06eacce219212a6c340a55fc7b0e8c37405957b787665fefeb5c578543da

Contents?: true

Size: 564 Bytes

Versions: 3

Compression:

Stored size: 564 Bytes

Contents

FactoryGirl.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

3 entries across 3 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.beta8 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.beta7 spec/factories/transplants/recipient_operations.rb