From 4ce833463b986a2d4da5f2205ef00f7d94fa6c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Fri, 19 Jan 2018 11:08:37 +0100 Subject: [PATCH] Fix invalid route [ci skip] --- spec/controllers/outgoing/admin_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/outgoing/admin_controller_spec.rb b/spec/controllers/outgoing/admin_controller_spec.rb index 8922c47697..f4f1a6c39a 100644 --- a/spec/controllers/outgoing/admin_controller_spec.rb +++ b/spec/controllers/outgoing/admin_controller_spec.rb @@ -140,7 +140,7 @@ describe ::Webhooks::Outgoing::AdminController, type: :controller do describe 'when not found' do it 'renders an error' do - put :update, params: { foo: 'bar' } + put :update, params: { webhook_id: 'bar' } expect(response).not_to be_success expect(response.status).to eq 404 end