diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3a3a852f27..5709efec0e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -28,12 +28,6 @@ Lint/DuplicateMethods: Exclude: - 'lib/discourse/single_sign_on.rb' -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -Lint/DuplicateRequire: - Exclude: - - 'spec/lib/open_food_network/scope_variants_to_search_spec.rb' - # Offense count: 16 # Configuration parameters: AllowComments, AllowEmptyLambdas. Lint/EmptyBlock: diff --git a/spec/lib/open_food_network/scope_variants_to_search_spec.rb b/spec/lib/open_food_network/scope_variants_to_search_spec.rb index 5c153f4162..e896fa8f60 100644 --- a/spec/lib/open_food_network/scope_variants_to_search_spec.rb +++ b/spec/lib/open_food_network/scope_variants_to_search_spec.rb @@ -2,7 +2,6 @@ require 'spec_helper' require 'open_food_network/scope_variants_for_search' -require 'spec_helper' describe OpenFoodNetwork::ScopeVariantsForSearch do let!(:p1) { create(:simple_product, name: 'Product 1') }