From 424b9e4bac4582c8601d362f873f9076e29aa687 Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Thu, 11 Jun 2020 13:27:28 +0300 Subject: [PATCH] fixup! Change an incorrect version key --- config/default.yml | 2 +- manual/cops_rspec.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/default.yml b/config/default.yml index d2a2bd75e..bd689553f 100644 --- a/config/default.yml +++ b/config/default.yml @@ -231,7 +231,7 @@ RSpec/FilePath: IgnoreMethods: false SpecSuffixOnly: false VersionAdded: '1.2' - VersionUpdated: '1.40' + VersionChanged: '1.40' StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FilePath RSpec/Focus: diff --git a/manual/cops_rspec.md b/manual/cops_rspec.md index 2afe1a782..1f54b582e 100644 --- a/manual/cops_rspec.md +++ b/manual/cops_rspec.md @@ -1156,7 +1156,7 @@ expect { my_app.print_report }.to output('Hello World').to_stdout Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged --- | --- | --- | --- | --- -Enabled | Yes | No | 1.2 | - +Enabled | Yes | No | 1.2 | 1.40 Checks that spec file paths are consistent and well-formed. @@ -1225,7 +1225,6 @@ Name | Default value | Configurable values CustomTransform | `{"RuboCop"=>"rubocop", "RSpec"=>"rspec"}` | IgnoreMethods | `false` | Boolean SpecSuffixOnly | `false` | Boolean -VersionUpdated | `1.40` | String ### References