Sha256: 9c949a5f847f300ded9ddfe74369177340288471e9cae62865281e72d801bb3c

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

FactoryGirl.define do
  factory :hd_profile, class: "Renalware::HD::Profile" do
    accountable
    patient
    active true
    association :hospital_unit, factory: :hospital_unit
    prescriber { accountable_actor }

    document {
      {
        dialysis: {
          hd_type: :hd
        }
      }
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 spec/factories/hd/profiles.rb
renalware-core-2.0.0.pre.beta8 spec/factories/hd/profiles.rb