Add model specs
This commit is contained in:
1 parent
21445b6905
commit
ad08b283b0
3 files changed
+23
No files matched your search
@@ -0,0 +1,7 @@
|
||||
FactoryBot.define do
|
||||
factory :definition do
|
||||
pos { "n" }
|
||||
definition { "this is a definition" }
|
||||
word_id { FactoryBot.create(:word).id }
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user