From b061ba5c522bb6fcbf625c8751426b44d499f775 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 3 May 2016 15:30:48 -0400 Subject: [PATCH] FIX: Broken spec. Stupid mocking. --- spec/controllers/embed_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/embed_controller_spec.rb b/spec/controllers/embed_controller_spec.rb index 9539666d6c9..bd906895eaf 100644 --- a/spec/controllers/embed_controller_spec.rb +++ b/spec/controllers/embed_controller_spec.rb @@ -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