2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-04 01:36:36 +08:00
discourse/spec/fabricators/reviewable_note_fabricator.rb
Gary Pendergast 599404de31
DEV: Add a ReviewableNote model, and tie it into the Reviewable model. (#33047)
As part of the review queue refresh, we'll be adding the ability for moderators to make notes on individual reviewable items. As a first step, this change adds the new model and associated backend code.
2025-06-04 09:33:02 +10:00

7 lines
220 B
Ruby

# frozen_string_literal: true
Fabricator(:reviewable_note) do
content { "This is a sample reviewable note for testing purposes." }
user { Fabricate(:admin) }
reviewable { Fabricate(:reviewable_flagged_post) }
end