diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-20 23:19:35 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-20 23:19:35 +0800 |
commit | eea2fd80fc3fbcdfd9beeff2bec5f667bf6135de (patch) | |
tree | 0190bcd9c40232880f1e9014c31fe9c0ceb9d2e4 /spec | |
parent | a77a58dffb20838e4e3a51796b4b3d95d7b8c400 (diff) | |
download | gitlab-ce-eea2fd80fc3fbcdfd9beeff2bec5f667bf6135de.tar.gz |
Use the same logic, it should specify that it's not logged in
Diffstat (limited to 'spec')
-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 9b205d66ff6..e408ea06e7e 100644 --- a/spec/requests/api/builds_spec.rb +++ b/spec/requests/api/builds_spec.rb @@ -182,7 +182,7 @@ describe API::API, api: true do api("/projects/#{project.id}/builds/artifacts/#{ref}/download?job=#{job}", api_user) end - context 'when unauthorized' do + context 'when not logged in' do let(:api_user) { nil } before do |