FEATURE: Allow using 'top' view for topic list embed (PR #12825)

GitHub

Wow, quite simple! It could use a test, though.

Wow, quite simple! It could use a test, though.

So that is what I meant by

Not sure exactly how to add tests as this just piggybacks on the existing infrastructure from the TopicQuery model.

I even tried copying the existing test and adding the top_period parameter, but top appears to depend on sidekiq which makes it a little trickier to test.

Oh my test was just missing a refresh + fabricating a topic with likes!

Thanks! I apologize for missing your comment about tests before.