rubocop-rspec icon indicating copy to clipboard operation
rubocop-rspec copied to clipboard

RSpec/DescribeClass ignores Rails' metadata for specs that could have a described constant

Open pirj opened this issue 5 years ago • 0 comments

Typically, models, controllers, jobs, channels, generators, mailboxes, mailers and helpers have their classes.

Is there a good reason to ignore them in RSpec/DescribeClass and not insist on putting the class, or class name as the first argument to the topmost example group?

pirj avatar Aug 26 '20 13:08 pirj