discourse/spec/fabricators/watched_word_fabricator.rb

5 lines
120 B
Ruby
Raw Normal View History

Fabricator(:watched_word) do
2017-07-28 09:20:09 +08:00
word { sequence(:word) { |i| "word#{i}" } }
action { WatchedWord.actions[:block] }
end