Skip to content

Add feature category to EE CI Validate::Abilities spec

drew stachon requested to merge add-pe-feature-category into master

What does this MR do and why?

This adds a feature category to a spec file that didn't have one. I was working in it and saw the warning.

See https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#feature-category-metadata

Screenshots or screen recordings

% bundle exec rspec ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/abilities_spec.rb
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}
==> Starting GitLab Elasticsearch Indexer set up...
==> GitLab Elasticsearch Indexer set up in 11.843967 seconds...

Test environment set up in 16.276939 seconds
Missing metadata feature_category: ./ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/abilities_spec.rb:27
.

Finished in 19.02 seconds (files took 7.84 seconds to load)
1 example, 0 failures

How to set up and validate locally

bundle exec rspec ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/abilities_spec.rb on each branch

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports