diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 00:09:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 00:09:32 +0300 |
commit | ae0889b3960606a480d2d09a57bdab59ddba6195 (patch) | |
tree | 7b2a20fa9bb427b19a0f6377df4bd6c048256ecf /qa | |
parent | 7ea5ca0bb5aa9792c514a22d59217dffa3800581 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/api/4_verify/pipeline_deletion_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/qa/specs/features/api/4_verify/pipeline_deletion_spec.rb b/qa/qa/specs/features/api/4_verify/pipeline_deletion_spec.rb index 0bbb0ed897a..e663d122240 100644 --- a/qa/qa/specs/features/api/4_verify/pipeline_deletion_spec.rb +++ b/qa/qa/specs/features/api/4_verify/pipeline_deletion_spec.rb @@ -65,6 +65,9 @@ module QA deleted_pipeline = pipeline !pipeline.empty? end + + raise "Pipeline response does not have a 'message' key: #{deleted_pipeline}" unless deleted_pipeline&.key?('message') + expect(deleted_pipeline['message'].downcase).to have_content('404 not found') end end |