From 49354d7111324cbde769e2b23ba40c83f358261c Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Wed, 24 Aug 2022 08:44:09 +0900 Subject: [PATCH] Fix incorrect documentation URLs when using `rubocop --show-docs-url` --- changelog/fix_incorrect_documentation_urls.md | 1 + config/default.yml | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog/fix_incorrect_documentation_urls.md diff --git a/changelog/fix_incorrect_documentation_urls.md b/changelog/fix_incorrect_documentation_urls.md new file mode 100644 index 00000000..eabef5bf --- /dev/null +++ b/changelog/fix_incorrect_documentation_urls.md @@ -0,0 +1 @@ +* [#178](https://github.com/rubocop/rubocop-minitest/pull/178): Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura][]) diff --git a/config/default.yml b/config/default.yml index 96d54944..2bc9fab6 100644 --- a/config/default.yml +++ b/config/default.yml @@ -3,6 +3,7 @@ Minitest: Include: - '**/test/**/*' - '**/*_test.rb' + DocumentationBaseURL: https://docs.rubocop.org/rubocop-minitest Minitest/AssertEmpty: Description: 'This cop enforces the test to use `assert_empty` instead of using `assert(object.empty?)`.'