mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix Lint/DuplicateRequire issue
- updates the todo list
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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') }
|
||||
|
||||
Reference in New Issue
Block a user