Fix Lint/DuplicateRequire issue

- updates the todo list
This commit is contained in:
cyrillefr
2024-04-05 17:09:14 +02:00
parent fa03de33e1
commit f57d44ba24
2 changed files with 0 additions and 7 deletions

View File

@@ -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:

View File

@@ -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') }