Closed Drowze closed 3 months ago
Started to get the error on v2.28.0 (I believe due to this change: https://github.com/rubocop/rubocop-rspec/pull/1830).
Gemfile:
source "https://rubygems.org" gem "rubocop-rspec" gem "rubocop-rails"
.rubocop.yml:
require: - rubocop-rails - rubocop-rspec RSpec/Rails/HttpStatus: Enabled: true
$ bundle exec rubocop Error: Ambiguous cop name `RSpec/Rails/HttpStatus` used in /Users/Drowze/rubocop-issue/.rubocop.yml needs department qualifier. Did you mean Rails/HttpStatus or RSpecRails/HttpStatus?
Thanks for reporting. Seems to be a duplicate of https://github.com/rubocop/rubocop-rspec_rails/issues/18
Started to get the error on v2.28.0 (I believe due to this change: https://github.com/rubocop/rubocop-rspec/pull/1830).
Reproducing it:
Gemfile:
.rubocop.yml: