Commit 6da27aa6 authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent 361f3d06
...@@ -212,9 +212,7 @@ describe API::API, api: true do ...@@ -212,9 +212,7 @@ describe API::API, api: true do
get path_from_ref get path_from_ref
end end
it 'gives 401 for unauthorized user' do it { expect(response).to have_http_status(401) }
expect(response).to have_http_status(401)
end
end end
context 'non-existing build' do context 'non-existing build' 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