diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1a0a69396..058b95106 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -17,12 +17,6 @@ Style/GlobalVars: Exclude: - 'tests/browser/features/step_definitions/mmv_performance_steps.rb' -# Offense count: 1 -# Cop supports --auto-correct. -Style/LeadingCommentSpace: - Exclude: - - 'tests/browser/features/step_definitions/mmv_performance_steps.rb' - # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes. diff --git a/tests/browser/features/step_definitions/mmv_performance_steps.rb b/tests/browser/features/step_definitions/mmv_performance_steps.rb index bc2662ae9..de6b9c928 100644 --- a/tests/browser/features/step_definitions/mmv_performance_steps.rb +++ b/tests/browser/features/step_definitions/mmv_performance_steps.rb @@ -30,7 +30,7 @@ end Then /^the File: page image is loaded$/ do on(CommonsPage) do |page| page.wait_for_image_load ".fullImageLink img" - #Has to be a global variable, otherwise it doesn't survive between scenarios + # Has to be a global variable, otherwise it doesn't survive between scenarios $commons_time = Time.now.getutc - @commons_open_time page.log_performance type: "file-page", duration: $commons_time * 1000 end