discourse/spec/fabricators/watched_word_fabricator.rb

7 lines
151 B
Ruby

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