discourse/spec/fabricators/watched_word_fabricator.rb

5 lines
120 B
Ruby
Raw Normal View History

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