gitlab-org--gitlab-foss/rubocop/cop/rspec
Sean McGivern ab0a6455c7 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.
2019-08-01 11:07:26 +01:00
..
env_assignment.rb
factories_in_migration_specs.rb
top_level_describe_path.rb Add RSpec/TopLevelDescribePath cop 2019-08-01 11:07:26 +01:00