Sha256: cd18bcd8da03b16d940425024e68b5c50b0ec16df5d1febf07a6b1f3db64e67d

Contents?: true

Size: 337 Bytes

Versions: 40

Compression:

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

40 entries across 40 versions & 1 rubygems

Version Path
renalware-core-2.0.42 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.41 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.40 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.39 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.38 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.37 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.36 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.35 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.34 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.33 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.32 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.31 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.30 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.28 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.27 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.26 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.25 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.24 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.23 spec/factories/transplants/donor_stage.rb
renalware-core-2.0.22 spec/factories/transplants/donor_stage.rb