diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index ea6a6d82a..b15ee708c 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,12 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 1 -# Configuration parameters: DebuggerMethods, DebuggerRequires. -Lint/Debugger: - Exclude: - - 'spec/spec_helper.rb' - # Offense count: 32 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max. Metrics/AbcSize: diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b7d530c2a..88610b6ad 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -106,7 +106,9 @@ screenshot_filename = "#{filename}:#{line_number}.png" # Save the screenshot using the custom filename + # rubocop:disable Lint/Debugger page.save_screenshot(screenshot_filename) + # rubocop:enable Lint/Debugger end end