Commit eea2fd80 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Use the same logic, it should specify that it's not logged in

parent a77a58df
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment