summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-20 23:19:35 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-20 23:19:35 +0800
commiteea2fd80fc3fbcdfd9beeff2bec5f667bf6135de (patch)
tree0190bcd9c40232880f1e9014c31fe9c0ceb9d2e4 /spec/requests
parenta77a58dffb20838e4e3a51796b4b3d95d7b8c400 (diff)
downloadgitlab-ce-eea2fd80fc3fbcdfd9beeff2bec5f667bf6135de.tar.gz
Use the same logic, it should specify that it's not logged in
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/builds_spec.rb2
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