diff options
author | sliaquat <sliaquat@gitlab.com> | 2018-08-16 14:40:03 +0300 |
---|---|---|
committer | sliaquat <sliaquat@gitlab.com> | 2018-08-16 14:40:03 +0300 |
commit | 4157073068ceffb25ee8d9b2401467c1dfd60da2 (patch) | |
tree | d124218973b5657728b425593910526db9a57cb3 /spec/requests/api/project_hooks_spec.rb | |
parent | ce18246c24040444646884a6a13e472ae83f74ee (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.rb | 5 |
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 |