8 lines
158 B
Ruby
8 lines
158 B
Ruby
FactoryBot.define do
|
|
factory :definition do
|
|
pos { "n" }
|
|
definition { "this is a definition" }
|
|
word_id { FactoryBot.create(:word).id }
|
|
end
|
|
end
|