diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-16 16:07:21 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-16 16:07:21 +0200 |
commit | 2742f9fb98babc0009e446d291757ae43c54c101 (patch) | |
tree | 5f86ef0dc027963e5f3d2e0a50cc65f82d4105a1 /spec/requests/git_http_spec.rb | |
parent | b0195d5c55d913dd62cb01b553b045f2681e7eb7 (diff) | |
download | gitlab-ce-2742f9fb98babc0009e446d291757ae43c54c101.tar.gz |
Improve authentication_result usage
Diffstat (limited to 'spec/requests/git_http_spec.rb')
-rw-r--r-- | spec/requests/git_http_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/git_http_spec.rb b/spec/requests/git_http_spec.rb index f828e898740..e3922bec689 100644 --- a/spec/requests/git_http_spec.rb +++ b/spec/requests/git_http_spec.rb @@ -322,10 +322,10 @@ describe 'Git HTTP requests', lib: true do expect(response).to have_http_status(401) end - it "downloads from other project get status 401" do + it "downloads from other project get status 404" do clone_get "#{other_project.path_with_namespace}.git", user: 'gitlab-ci-token', password: build.token - expect(response).to have_http_status(401) + expect(response).to have_http_status(404) end end |