rspec/rules/S5860/description.adoc

8 lines
296 B
Plaintext

Why use named groups only to never use any of them later on in the code?
This rule raises issues every time named groups are:
* defined but never called anywhere in the code through their name;
* defined but called elsewhere in the code by their number instead;
* referenced while not defined.