mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
This commit is contained in:
4
spec/fabricators/watched_word_fabricator.rb
Normal file
4
spec/fabricators/watched_word_fabricator.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
Fabricator(:watched_word) do
|
||||
word { sequence(:word) { |i| "word#{i}"} }
|
||||
action { WatchedWord.actions[:block] }
|
||||
end
|
||||
Reference in New Issue
Block a user