discourse/spec/fabricators/post_revision_fabricator.rb

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

9 lines
184 B
Ruby
Raw Normal View History

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