From 8d6fd6a25292ef4da9d39ab4b5d6f0e2b3eee82e Mon Sep 17 00:00:00 2001 From: viehlieb Date: Thu, 30 Mar 2023 10:18:09 +0200 Subject: [PATCH] remove utf-8 encoder --- plugins/article_import/lib/foodsoft_article_import.rb | 1 - .../lib/foodsoft/foodsoft_article_import_foodsoft_spec.rb | 8 -------- 2 files changed, 9 deletions(-) diff --git a/plugins/article_import/lib/foodsoft_article_import.rb b/plugins/article_import/lib/foodsoft_article_import.rb index 4472cca5..5bd48dd8 100644 --- a/plugins/article_import/lib/foodsoft_article_import.rb +++ b/plugins/article_import/lib/foodsoft_article_import.rb @@ -7,7 +7,6 @@ require 'csv' require 'yaml' require 'active_support/core_ext/hash/keys' require_relative 'foodsoft_article_import/bnn' -require_relative 'foodsoft_article_import/utf8_encoder' require_relative 'foodsoft_article_import/odin' require_relative 'foodsoft_article_import/foodsoft' module FoodsoftArticleImport diff --git a/plugins/article_import/spec/lib/foodsoft/foodsoft_article_import_foodsoft_spec.rb b/plugins/article_import/spec/lib/foodsoft/foodsoft_article_import_foodsoft_spec.rb index 12ad16d7..ce78b12b 100644 --- a/plugins/article_import/spec/lib/foodsoft/foodsoft_article_import_foodsoft_spec.rb +++ b/plugins/article_import/spec/lib/foodsoft/foodsoft_article_import_foodsoft_spec.rb @@ -6,14 +6,6 @@ require 'foodsoft_article_import' describe FoodsoftArticleImport do files_path = File.expand_path '../../files', __dir__ foodsoft_files_path = File.join(files_path, 'foodsoft') - puts " - " + "______________" + " - " + "______________" + " - " + "______________" + " - " + "#{foodsoft_files_path}" + " - " + "______________"+ " - " + "______________"+ " - " + "______________" dummy_article = { order_number: '1', name: 'product', note: 'bio', manufacturer: 'someone', origin: 'eu', unit: '1 kg', price: '1.23', tax: '6', unit_quantity: '10', article_category: 'coolstuff', deposit: '0' }