Sha256: 1781b06ce418195c2b191ff827ce2667cc8be64015a1002309dede6d0f05d8d8

Contents?: true

Size: 354 Bytes

Versions: 103

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :drug_type, class: "Renalware::Drugs::Type" do
    code { "immuno" }
    name { "Immunosuppressant" }

    trait :immunosuppressant do
      code { "immunosuppressant" }
      name { "Immunosuppressant" }
    end

    trait :esa do
      code { "esa" }
      name { "ESA" }
    end
  end
end

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
renalware-core-2.0.89 spec/factories/drugs/drug_types.rb
renalware-core-2.0.88 spec/factories/drugs/drug_types.rb
renalware-core-2.0.87 spec/factories/drugs/drug_types.rb
renalware-core-2.0.86 spec/factories/drugs/drug_types.rb
renalware-core-2.0.85 spec/factories/drugs/drug_types.rb
renalware-core-2.0.84 spec/factories/drugs/drug_types.rb
renalware-core-2.0.83 spec/factories/drugs/drug_types.rb
renalware-core-2.0.82 spec/factories/drugs/drug_types.rb
renalware-core-2.0.81 spec/factories/drugs/drug_types.rb
renalware-core-2.0.80 spec/factories/drugs/drug_types.rb
renalware-core-2.0.79 spec/factories/drugs/drug_types.rb
renalware-core-2.0.78 spec/factories/drugs/drug_types.rb
renalware-core-2.0.77 spec/factories/drugs/drug_types.rb
renalware-core-2.0.76 spec/factories/drugs/drug_types.rb
renalware-core-2.0.75 spec/factories/drugs/drug_types.rb
renalware-core-2.0.74 spec/factories/drugs/drug_types.rb
renalware-core-2.0.73 spec/factories/drugs/drug_types.rb
renalware-core-2.0.72 spec/factories/drugs/drug_types.rb
renalware-core-2.0.71 spec/factories/drugs/drug_types.rb
renalware-core-2.0.70 spec/factories/drugs/drug_types.rb