Sha256: 3dc0c5b415dd356883ec60cd7f59f41fe865a55efc6fcc3f1ed0f0f0e734c066

Contents?: true

Size: 349 Bytes

Versions: 31

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :donor_stage, class: "Renalware::Transplants::DonorStage" do
    accountable
    patient
    stage_position factory: :donor_stage_position
    stage_status factory: :donor_stage_status
    started_on { ->{ Time.zone.now } }
    notes { "Some notes" }
    terminated_on { nil }
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
renalware-core-2.0.77 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.76 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.75 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.74 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.73 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.72 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.71 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.70 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.69 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.68 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.67 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.64 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.63 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.62 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.61 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.60 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.58 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.57 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.56 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.55 spec/factories/transplants/donor_stage.rb