mod actions: add options to filter /mod_actions by subject.

This commit is contained in:
evazion
2022-09-25 22:48:23 -05:00
parent 3dc765ca9d
commit 17c6a2d77b
8 changed files with 61 additions and 12 deletions

View File

@@ -1,7 +1,8 @@
FactoryBot.define do
factory(:mod_action) do
creator :factory => :user
description {"1234"}
category {"other"}
creator factory: :user
subject factory: :post
description { "undeleted post ##{subject_id}" }
category { "post_undelete" }
end
end