FIX: Broken spec. Stupid mocking.

This commit is contained in:
Robin Ward 2016-05-03 15:30:48 -04:00
parent 65392f37bb
commit b061ba5c52
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D

View File

@ -92,7 +92,7 @@ describe EmbedController do
it "creates a topic view when a topic_id is found" do
TopicEmbed.expects(:topic_id_for_embed).returns(123)
TopicView.expects(:new).with(123, nil, {limit: 100, exclude_first: true, exclude_deleted_users: true})
TopicView.expects(:new).with(123, nil, {limit: 100, exclude_first: true, exclude_deleted_users: true, exclude_hidden: true})
get :comments, embed_url: embed_url
end