Sha256: 58345cb6f881be79a566ae0ab4eaefd9d1cd0f7e531e0e0f71e42f542114b14c

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

# -*- coding: utf-8 -*-
FactoryGirl.define do
  factory :translated_word, class: Translatable::TranslatedWord do
    translatable factory: :user
    key :first_name
    trait :en do
      locale :en
      value 'John'
    end

    trait :ja do
      locale :ja
      value 'ジョン'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ar-translatable-0.2.0 spec/factories/translated_word.rb