diff options
Diffstat (limited to 'spec/requests/api/builds_spec.rb')
-rw-r--r-- | spec/requests/api/builds_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/requests/api/builds_spec.rb b/spec/requests/api/builds_spec.rb index 6505a75e9c8..ef489a1ee90 100644 --- a/spec/requests/api/builds_spec.rb +++ b/spec/requests/api/builds_spec.rb @@ -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 |