mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Update tax category specs
This commit is contained in:
committed by
Maikel Linke
parent
d1209dd49b
commit
07774c4572
@@ -187,7 +187,6 @@ describe "filtering products for submission to database", ->
|
||||
description: ""
|
||||
deleted_at: null
|
||||
meta_keywords: null
|
||||
tax_category_id: null
|
||||
shipping_category_id: null
|
||||
created_at: null
|
||||
updated_at: null
|
||||
@@ -205,6 +204,7 @@ describe "filtering products for submission to database", ->
|
||||
on_hand: 2
|
||||
price: 10.0
|
||||
unit_value: 250
|
||||
tax_category_id: null
|
||||
unit_description: "(bottle)"
|
||||
display_as: "bottle"
|
||||
display_name: "nothing"
|
||||
@@ -221,7 +221,6 @@ describe "filtering products for submission to database", ->
|
||||
variant_unit: 'volume'
|
||||
variant_unit_scale: 1
|
||||
variant_unit_name: 'loaf'
|
||||
tax_category_id: null
|
||||
master_attributes:
|
||||
id: 2
|
||||
unit_value: 250
|
||||
@@ -231,6 +230,7 @@ describe "filtering products for submission to database", ->
|
||||
on_hand: 2
|
||||
price: 10.0
|
||||
unit_value: 250
|
||||
tax_category_id: null
|
||||
unit_description: "(bottle)"
|
||||
display_as: "bottle"
|
||||
display_name: "nothing"
|
||||
@@ -822,8 +822,8 @@ describe "AdminProductEditCtrl", ->
|
||||
expect(product).toEqual
|
||||
id: 123
|
||||
variants: [
|
||||
{id: -1, price: null, unit_value: null, unit_description: null, on_demand: false, on_hand: null, display_as: null, display_name: null}
|
||||
{id: -2, price: null, unit_value: null, unit_description: null, on_demand: false, on_hand: null, display_as: null, display_name: null}
|
||||
{id: -1, price: null, unit_value: null, tax_category_id: null, unit_description: null, on_demand: false, on_hand: null, display_as: null, display_name: null}
|
||||
{id: -2, price: null, unit_value: null, tax_category_id: null, unit_description: null, on_demand: false, on_hand: null, display_as: null, display_name: null}
|
||||
]
|
||||
|
||||
it "shows the variant(s)", ->
|
||||
@@ -978,7 +978,6 @@ describe "AdminProductEditCtrl", ->
|
||||
description: ""
|
||||
deleted_at: null
|
||||
meta_keywords: null
|
||||
tax_category_id: null
|
||||
shipping_category_id: null
|
||||
created_at: null
|
||||
updated_at: null
|
||||
|
||||
Reference in New Issue
Block a user