fix the build

This commit is contained in:
Régis Hanol 2018-02-19 22:52:54 +01:00
parent 60ec483caa
commit 6b67192d99
1 changed files with 1 additions and 1 deletions

View File

@ -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