diff options
author | Sean McGivern <sean@gitlab.com> | 2019-07-29 16:27:36 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-08-01 11:07:26 +0100 |
commit | ab0a6455c790874cafd2deff9b7b2da8d82169f2 (patch) | |
tree | 110aad6bfa494c326a5385e251534bebe5d2c3eb /spec/javascripts/lazy_loader_spec.js | |
parent | 252a0b0faa07160214e46e696cbfb0761e6f2a3d (diff) | |
download | gitlab-ce-ab0a6455c790874cafd2deff9b7b2da8d82169f2.tar.gz |
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/javascripts/lazy_loader_spec.js')
0 files changed, 0 insertions, 0 deletions