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