TokiTranslate/spec/factories/part_of_speech.rb
2023-10-24 23:47:01 -04:00

8 lines
193 B
Ruby

FactoryBot.define do
factory :part_of_speech do
sequence(:pos) { |n| "test-#{n.to_s}" }
language_id { FactoryBot.create(:language).id }
definition { "test definition" }
end
end