discourse/spec/fabricators/post_revision_fabricator.rb

11 lines
199 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Fabricator(:post_revision) do
post
user
number 2
modifications do
{ "cooked" => ["<p>BEFORE</p>", "<p>AFTER</p>"], "raw" => ["BEFORE", "AFTER"] }
end
end