Fix a few problems introduced by rubocop auto correct

This commit is contained in:
luisramos0
2019-05-23 22:49:30 +01:00
parent 86b0d71c7e
commit 07854cf372
8 changed files with 55 additions and 22 deletions

View File

@@ -12,7 +12,6 @@ class ProductFactory
private
# rubocop:disable Metrics/MethodLength, Metrics/AbcSize
def product_data(enterprises)
vegetables = Spree::Taxon.find_by_name('Vegetables')
fruit = Spree::Taxon.find_by_name('Fruit')
@@ -64,7 +63,6 @@ class ProductFactory
}
]
end
# rubocop:enable Metrics/MethodLength, Metrics/AbcSize
def create_product(hash)
log "- #{hash[:name]}"