discourse/spec/fabricators/post_revision_fabricator.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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