Sha256: df2f6a3388b4c4698f088a57b2f27dadacbcaa292362e934d26c0280da785981

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

FactoryGirl.define do
  factory :language, class: "Renalware::Patients::Language" do
    name "English"
    code "en"

    trait :english do
      name "English"
      code "en"
    end

    trait :aftrikaans do
      name "Afrikaans"
      code "af"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 spec/factories/patients/languages.rb