Sha256: 323f5b767df94419613fd669c19bd21adba6edba06abc3b8662c0d10327d7c16
Contents?: true
Size: 1.01 KB
Versions: 49
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true FactoryBot.define do factory :event_type, class: "Renalware::Events::Type" do initialize_with { Renalware::Events::Type.find_or_create_by(name: name) } factory :access_clinic_event_type do name { "Access--Clinic" } hidden { false } end factory :swab_event_type do name { "Swab" } event_class_name { "Renalware::Events::Swab" } slug { "swabs" } end factory :biopsy_event_type do name { "Renal biopsy" } event_class_name { "Renalware::Events::Biopsy" } end factory :pd_line_change_event_type do name { "PD Line Change" } slug { "pd_line_changes" } end factory :investigation_event_type do name { "Investigation" } slug { "investigations" } event_class_name { "Renalware::Events::Investigation" } end factory :vaccination_event_type do name { "Vaccination" } slug { "vaccinations" } event_class_name { "Renalware::Virology::Vaccination" } end end end
Version data entries
49 entries across 49 versions & 1 rubygems