discourse/spec/fabricators/topic_embed_fabricator.rb

7 lines
103 B
Ruby

# frozen_string_literal: true
Fabricator(:topic_embed) do
post
topic { |te| te[:post].topic }
end