Fix invalid route

[ci skip]
pull/6827/head
Oliver Günther 7 years ago
parent e8ac75b1a1
commit 4ce833463b
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      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

Loading…
Cancel
Save