diff options
author | Sean McGivern <sean@gitlab.com> | 2019-07-29 18:27:36 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-08-01 13:07:26 +0300 |
commit | ab0a6455c790874cafd2deff9b7b2da8d82169f2 (patch) | |
tree | 110aad6bfa494c326a5385e251534bebe5d2c3eb /spec/tasks | |
parent | 252a0b0faa07160214e46e696cbfb0761e6f2a3d (diff) |
Add RSpec/TopLevelDescribePath cop
The RSpec/FilePath cop checks that a spec file's path is correct, but
only if the file describes a constant. We want to check, for any file
with a top-level `describe`, whether the file path ends in
`_spec.rb`. We don't care what comes before that; just that it will be
executed by RSpec at all.
Diffstat (limited to 'spec/tasks')
0 files changed, 0 insertions, 0 deletions