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.153 spec/factories/drugs/drug_types.rb
renalware-core-2.0.152 spec/factories/drugs/drug_types.rb
renalware-core-2.0.151 spec/factories/drugs/drug_types.rb
renalware-core-2.0.149 spec/factories/drugs/drug_types.rb
renalware-core-2.0.148 spec/factories/drugs/drug_types.rb
renalware-core-2.0.147 spec/factories/drugs/drug_types.rb
renalware-core-2.0.146 spec/factories/drugs/drug_types.rb
renalware-core-2.0.145 spec/factories/drugs/drug_types.rb
renalware-core-2.0.144 spec/factories/drugs/drug_types.rb
renalware-core-2.0.143 spec/factories/drugs/drug_types.rb
renalware-core-2.0.142 spec/factories/drugs/drug_types.rb
renalware-core-2.0.141 spec/factories/drugs/drug_types.rb
renalware-core-2.0.140 spec/factories/drugs/drug_types.rb
renalware-core-2.0.139 spec/factories/drugs/drug_types.rb
renalware-core-2.0.138 spec/factories/drugs/drug_types.rb
renalware-core-2.0.137 spec/factories/drugs/drug_types.rb
renalware-core-2.0.136 spec/factories/drugs/drug_types.rb
renalware-core-2.0.135 spec/factories/drugs/drug_types.rb
renalware-core-2.0.134 spec/factories/drugs/drug_types.rb
renalware-core-2.0.133 spec/factories/drugs/drug_types.rb