Sha256: f15441c60e890f572398f79816e5afa6f66c8ad9f1b270af7d2d96fd4a9c9122
Contents?: true
Size: 524 Bytes
Versions: 18
Compression:
Stored size: 524 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :pathology_observation_description, class: "Renalware::Pathology::ObservationDescription" do initialize_with do Renalware::Pathology::ObservationDescription.find_or_create_by!(code: code) end before(:create){ |desc| desc.loinc_code ||= desc.code.downcase } code "WBR" association :measurement_unit, factory: :pathology_measurement_unit display_group 1 display_order 1 letter_group 1 letter_order 1 end end
Version data entries
18 entries across 18 versions & 1 rubygems