discourse/spec/fabricators/topic_embed_fabricator.rb

5 lines
71 B
Ruby
Raw Normal View History

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