discourse/spec/fabricators/watched_word_fabricator.rb

7 lines
147 B
Ruby

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