Sha256: 09bede1c394b616ae4f8e4c974e00e07fc65a87f5df8f2f63aa8e43d255b46ce

Contents?: true

Size: 257 Bytes

Versions: 13

Compression:

Stored size: 257 Bytes

Contents

FactoryBot.define do
  factory :hospital_ward, class: "Renalware::Hospitals::Ward" do
    initialize_with do
      Renalware::Hospitals::Ward.find_or_create_by!(name: name, hospital_unit: hospital_unit)
    end
    hospital_unit
    name "Ward A"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc10 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc9 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc8 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc7 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc6 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc5 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc4 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc3 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.rc1 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.beta12 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.beta11 spec/factories/hospitals/wards.rb
renalware-core-2.0.0.pre.beta10 spec/factories/hospitals/wards.rb