summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-20 22:02:42 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-20 22:02:42 +0800
commitfea934b596323190c966c5edf1c8631c725f3820 (patch)
tree376208b8c8f1052effeee074fb55c1080e59b92d /spec
parent4a1edae3ac321241e2168b98df695e11048f7724 (diff)
downloadgitlab-ce-fea934b596323190c966c5edf1c8631c725f3820.tar.gz
Still give descriptions, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13198953
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/api/builds_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/requests/api/builds_spec.rb b/spec/requests/api/builds_spec.rb
index d14fd53afb9..d274466edec 100644
--- a/spec/requests/api/builds_spec.rb
+++ b/spec/requests/api/builds_spec.rb
@@ -187,7 +187,9 @@ describe API::API, api: true do
get path_for_ref
end
- it { expect(response).to have_http_status(401) }
+ it 'gives 401' do
+ expect(response).to have_http_status(401)
+ end
end
context 'non-existing build' do