Sha256: a587556df7e2cdc953ebc291a2c05fee1d5def9bb1868762b23fc29ef8da8a4e
Contents?: true
Size: 291 Bytes
Versions: 40
Compression:
Stored size: 291 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :drug, class: "Renalware::Drugs::Drug" do name "Blue Pill" trait :immunosuppressant do after(:create) do |instance| instance.drug_types << create(:drug_type, :immunosuppressant) end end end end
Version data entries
40 entries across 40 versions & 1 rubygems