discourse/spec/fabricators/topic_embed_fabricator.rb

5 lines
72 B
Ruby

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