./spec/lib/gitlab/ci/templates/templates_spec.rb is failing on master
Job #189924495 failed for 72b734f8:
The ./spec/lib/gitlab/ci/templates/templates_spec.rb[1:1:51] spec is failing on master.
Failures:
1) CI YML Templates concrete templates with CI/CD jobs DAST template should be valid
Failure/Error:
expect { Gitlab::Ci::YamlProcessor.new(template.content, project: project) }
.not_to raise_error
expected no Exception, got #<Gitlab::Ci::YamlProcessor::ValidationError: jobs:dast script can't be blank> with backtrace:
# ./lib/gitlab/ci/yaml_processor.rb:17:in `initialize'
# ./spec/lib/gitlab/ci/templates/templates_spec.rb:27:in `new'
# ./spec/lib/gitlab/ci/templates/templates_spec.rb:27:in `block (5 levels) in <top (required)>'
# ./spec/lib/gitlab/ci/templates/templates_spec.rb:27:in `block (4 levels) in <top (required)>'
# ./spec/lib/gitlab/ci/templates/templates_spec.rb:27:in `block (4 levels) in <top (required)>'
Finished in 20 minutes 26 seconds (files took 17.18 seconds to load)
739 examples, 1 failure, 2 pending
Failed examples:
rspec './spec/lib/gitlab/ci/templates/templates_spec.rb[1:1:51]' # CI YML Templates concrete templates with CI/CD jobs DAST template should be valid