Merge pull request #12344 from cyrillefr/FixLintDuplicateRequireIssue

Fix Lint/DuplicateRequire issue
This commit is contained in:
Gaetan Craig-Riou
2024-04-08 13:15:11 +10:00
committed by GitHub
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') }