discourse/spec/fabricators/post_revision_fabricator.rb
2023-01-09 11:49:28 +00:00

9 lines
184 B
Ruby

# 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