discourse/spec/fabricators/topic_embed_fabricator.rb

5 lines
71 B
Ruby

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