discourse/spec/fabricators/watched_word_fabricator.rb

5 lines
120 B
Ruby

Fabricator(:watched_word) do
word { sequence(:word) { |i| "word#{i}" } }
action { WatchedWord.actions[:block] }
end