From e53960bae7a01ca384b93f3fe46ce34696e3178f Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 24 Nov 2023 16:35:45 +1100 Subject: [PATCH] Disable Rails/OutputSafety for specs This cop is to protect against user input. There's no user input (or users) in specs. --- .rubocop_styleguide.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop_styleguide.yml b/.rubocop_styleguide.yml index 5459d63ebc..5606130daa 100644 --- a/.rubocop_styleguide.yml +++ b/.rubocop_styleguide.yml @@ -70,6 +70,10 @@ Rails/SkipsModelValidations: - "update_column" - "update_columns" +Rails/OutputSafety: + Exclude: + - 'spec/**/*' + Style/Documentation: Enabled: false