Skip to content

Am improve danger suggestion for feature category

What does this MR do and why?

Describe in detail what your merge request does and why.

Related #385306 (closed)

Add suggestions for feature_category only when we have a changed line of a top-level Rspec.describe block with a do at the end.

Like: RSpec.describe Tooling::Danger::ConfigFiles do

This means that in cases like next one we will not add a suggestion.

RSpec.describe BulkImports::CreateService,
:importers do

Screenshots or screen recordings

Screenshot_2023-01-10_at_12.12.22

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Alina Mihaila

Merge request reports

Loading