Files
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

8 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