remove scale_quantity
This commit is contained in:
parent
77474c0811
commit
cf40a53785
4 changed files with 4 additions and 6 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue