Sha256: ad68fc0ebc1de2981792bcfbebede178ddb7580e2d0e04bc4a2326904b1c6e10

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

FactoryGirl.define do
  factory :hospital_unit, class: "Renalware::Hospitals::Unit" do
    hospital_centre
    name "King's College Hospital"
    unit_code "UJZ"
    renal_registry_code "RJZ"
    unit_type :hospital
    number_of_hd_stations nil

    factory :hd_hospital_unit do
      is_hd_site true
      number_of_hd_stations 10
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 spec/factories/hospitals/units.rb
renalware-core-2.0.0.pre.beta8 spec/factories/hospitals/units.rb
renalware-core-2.0.0.pre.beta7 spec/factories/hospitals/units.rb