Add dictionary controller specs and factories
This commit is contained in:
5
spec/factories/word.rb
Normal file
5
spec/factories/word.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
FactoryBot.define do
|
||||
factory :word do
|
||||
sequence(:word) { |n| "test-#{n.to_s}" }
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user