Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsliaquat <sliaquat@gitlab.com>2018-08-16 14:40:03 +0300
committersliaquat <sliaquat@gitlab.com>2018-08-16 14:40:03 +0300
commit4157073068ceffb25ee8d9b2401467c1dfd60da2 (patch)
treed124218973b5657728b425593910526db9a57cb3 /spec/requests/api/project_hooks_spec.rb
parentce18246c24040444646884a6a13e472ae83f74ee (diff)
Remove some duplicate tests and fix some typos
Diffstat (limited to 'spec/requests/api/project_hooks_spec.rb')
-rw-r--r--spec/requests/api/project_hooks_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/requests/api/project_hooks_spec.rb b/spec/requests/api/project_hooks_spec.rb
index bc45a63d9f1..d3f81cc038d 100644
--- a/spec/requests/api/project_hooks_spec.rb
+++ b/spec/requests/api/project_hooks_spec.rb
@@ -83,11 +83,6 @@ describe API::ProjectHooks, 'ProjectHooks' do
expect(response).to have_gitlab_http_status(403)
end
end
-
- it "returns a 404 error if hook id is not available" do
- get api("/projects/#{project.id}/hooks/1234", user)
- expect(response).to have_gitlab_http_status(404)
- end
end
describe "POST /projects/:id/hooks" do