diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-20 22:02:42 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-20 22:02:42 +0800 |
commit | fea934b596323190c966c5edf1c8631c725f3820 (patch) | |
tree | 376208b8c8f1052effeee074fb55c1080e59b92d /spec | |
parent | 4a1edae3ac321241e2168b98df695e11048f7724 (diff) | |
download | gitlab-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.rb | 4 |
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 |