From 3710cfdd11e363771fa6013e89dd98ed8773b03f Mon Sep 17 00:00:00 2001 From: Gavin Patton Date: Mon, 25 Sep 2023 09:41:13 +0100 Subject: [PATCH] (MAINT) Disable spec suffix cop which has wrongly raised errors in spec tests --- .rubocop_todo.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 998d705e..117a61ce 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2023-09-12 16:29:51 UTC using RuboCop version 1.56.3. +# on 2023-09-25 08:38:34 UTC using RuboCop version 1.56.3. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -77,12 +77,6 @@ Naming/HeredocDelimiterNaming: Exclude: - 'spec/acceptance/generate_markdown_spec.rb' -# Offense count: 24 -# Configuration parameters: AllowedPatterns. -# SupportedStyles: snake_case, camelCase -Naming/MethodName: - EnforcedStyle: snake_case - # Offense count: 24 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to @@ -139,6 +133,12 @@ RSpec/ExpectInHook: Exclude: - 'spec/unit/puppet-strings/json_spec.rb' +# Offense count: 20 +# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. +# Include: **/*_spec*rb*, **/spec/**/* +RSpec/FilePath: + Enabled: false + # Offense count: 91 RSpec/MultipleExpectations: Max: 64