diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-19 19:37:42 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-19 19:37:42 +0300 |
commit | 361f3d067cd69df9ab4f9f5af0b72bc213edc283 (patch) | |
tree | 25314f662eaffd091a0084a9541cfccbc6ca1fb5 /spec/requests/api/builds_spec.rb | |
parent | 43b6a3eac14a3fb96ed248120c31b41ba8cd6a06 (diff) |
when unauthorized, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347/diffs#note_13173429
Diffstat (limited to 'spec/requests/api/builds_spec.rb')
-rw-r--r-- | spec/requests/api/builds_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/builds_spec.rb b/spec/requests/api/builds_spec.rb index 20d3ed61123..6505a75e9c8 100644 --- a/spec/requests/api/builds_spec.rb +++ b/spec/requests/api/builds_spec.rb @@ -205,7 +205,7 @@ describe API::API, api: true do api("/projects/#{project.id}/builds/artifacts/#{ref}/download?job=#{job}", user) end - context 'not logging in' do + context 'when unauthorized' do let(:user) { nil } before do |