diff options
Diffstat (limited to 'spec/controllers/projects/hooks_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects/hooks_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/hooks_controller_spec.rb b/spec/controllers/projects/hooks_controller_spec.rb index 137296b4f19..f50ef2d804c 100644 --- a/spec/controllers/projects/hooks_controller_spec.rb +++ b/spec/controllers/projects/hooks_controller_spec.rb @@ -42,7 +42,7 @@ describe Projects::HooksController do post :create, params: { namespace_id: project.namespace, project_id: project, hook: hook_params } - expect(response).to have_http_status(302) + expect(response).to have_gitlab_http_status(:found) expect(ProjectHook.all.size).to eq(1) expect(ProjectHook.first).to have_attributes(hook_params) end |