diff --git a/CHANGELOG.md b/CHANGELOG.md index dd4b22ae9..1c98bab86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ * Fix a false positive for `RSpec/Capybara/SpecificMatcher` when may not have a `href` by `have_link`. ([@ydah][]) * Add `NegatedMatcher` configuration option to `RSpec/ChangeByZero`. ([@ydah][]) * Add new `RSpec/Capybara/SpecificFinders` cop. ([@ydah][]) +* Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura][]) ## 2.12.1 (2022-07-03) diff --git a/config/default.yml b/config/default.yml index 8df64c7a6..a3cd4f47d 100644 --- a/config/default.yml +++ b/config/default.yml @@ -2,6 +2,7 @@ RSpec: Enabled: true StyleGuideBaseURL: https://rspec.rubystyle.guide + DocumentationBaseURL: https://docs.rubocop.org/rubocop-rspec Include: &1 - "**/*_spec.rb" - "**/spec/**/*"