ab0a6455c7
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. |
||
---|---|---|
.. | ||
code_reuse | ||
gitlab | ||
graphql | ||
migration | ||
qa | ||
rspec | ||
active_record_association_reload.rb | ||
avoid_break_from_strong_memoize.rb | ||
avoid_return_from_blocks.rb | ||
avoid_route_redirect_leading_slash.rb | ||
destroy_all.rb | ||
group_public_or_visible_to_user.rb | ||
include_action_view_context.rb | ||
include_sidekiq_worker.rb | ||
inject_enterprise_edition_module.rb | ||
line_break_around_conditional_block.rb | ||
prefer_class_methods_over_module.rb | ||
project_path_helper.rb | ||
ruby_interpolation_in_translation.rb | ||
safe_params.rb | ||
sidekiq_options_queue.rb |