Fix wrong view being displayed when a webhook fails validation (#25464)
This commit is contained in:
@ -82,7 +82,7 @@ describe Admin::WebhooksController do
|
||||
end.to_not change(webhook, :url)
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response).to render_template(:show)
|
||||
expect(response).to render_template(:edit)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user