remove scale_quantity

This commit is contained in:
viehlieb 2023-01-31 12:54:23 +01:00
parent 77474c0811
commit cf40a53785
4 changed files with 4 additions and 6 deletions

View file

@ -9,7 +9,7 @@ describe FoodsoftArticleImport do
dummy_article = { name: 'Greek Dressing - Kräuter Mix', order_number: '64721', note: 'Oregano, Basilikum und Minze',
manufacturer: 'Medousa, Griechenland Importe', origin: 'GR', article_category: 'Kräutermischungen', unit: '35g', price: '2,89', tax: 7.0, unit_quantity: '6'}
article = dummy_article.merge({scale_price: "3", scale_quantity: "2", deposit: 0.08})
article = dummy_article.merge({ deposit: 0.08})
article_special = article.merge(note: 'Sonderpreis: 2,89 von 20230101 bis 20230201')
article_2 = dummy_article.merge({manufacturer: nil, article_category: nil})