From d8ccc7a00b7a1ea954263170a2044257424a2cfe Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 7 Nov 2019 18:06:21 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/controllers/projects/releases_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/controllers/projects/releases_controller_spec.rb') diff --git a/spec/controllers/projects/releases_controller_spec.rb b/spec/controllers/projects/releases_controller_spec.rb index 562119d967f..28ca20d7dab 100644 --- a/spec/controllers/projects/releases_controller_spec.rb +++ b/spec/controllers/projects/releases_controller_spec.rb @@ -111,8 +111,8 @@ describe Projects::ReleasesController do context 'when the project is private and the user is not logged in' do let(:project) { private_project } - it 'returns a redirect' do - expect(response).to have_gitlab_http_status(:redirect) + it 'returns a 401' do + expect(response).to have_gitlab_http_status(:unauthorized) end end end -- cgit v1.2.1