rubocop-rspec: Rails/HttpStatus not working after requiring rubocop-rspec

After adding require: rubocop-rspec to the .rubocop.yml, the Rails/HttpStatus doesn’t check the code, only the specs

first reported here: https://github.com/bbatsov/rubocop/issues/5738#issuecomment-388838142

rubocop-rspec 1.25.1

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 15 (5 by maintainers)

Commits related to this issue

Most upvoted comments

@pirj opened a PR with renaming (#834).

This should be fixed in #1019 that is part of the release 2.0.

Thanks @haines !

could we rename Rails/HttpStatus to RSpec/Rails/HttpStatus?