From 6b67192d9908d346d25cee20b77b855dddc54158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 19 Feb 2018 22:52:54 +0100 Subject: [PATCH] fix the build --- spec/controllers/onebox_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/onebox_controller_spec.rb b/spec/controllers/onebox_controller_spec.rb index 5eb7f074d5a..4a8cb5b9bf6 100644 --- a/spec/controllers/onebox_controller_spec.rb +++ b/spec/controllers/onebox_controller_spec.rb @@ -14,7 +14,7 @@ describe OneboxController do before { @user = log_in(:admin) } it 'invalidates the cache if refresh is passed' do - Oneboxer.expects(:preview).with(url, invalidate_oneboxes: true, user_id: @user.id, category_id: 0) + Oneboxer.expects(:preview).with(url, invalidate_oneboxes: true, user_id: @user.id, category_id: 0, topic_id: 0) get :show, params: { url: url, refresh: 'true' }, format: :json end