summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-20 00:38:50 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-20 00:38:50 +0800
commit6da27aa6a583ddb4d73b9dfaaaa3e9fdf98e9a6d (patch)
tree2fdb86408fa798d872d85592a1681b6e96fdb977
parent361f3d067cd69df9ab4f9f5af0b72bc213edc283 (diff)
downloadgitlab-ce-6da27aa6a583ddb4d73b9dfaaaa3e9fdf98e9a6d.tar.gz
Drop description for simple case, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347/diffs#note_13173445
-rw-r--r--spec/requests/api/builds_spec.rb4
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