mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix system spec to take into account discounted tax
This commit is contained in:
committed by
Maikel Linke
parent
8d639c14cb
commit
1a66f3d94f
@@ -131,7 +131,7 @@ describe "As a consumer, I want to see adjustment breakdown" do
|
||||
# UI checks
|
||||
expect(page).to have_content("Confirmed")
|
||||
expect(page).to have_selector('#order_total', text: with_currency(0.00))
|
||||
expect(page).to have_selector('#tax-row', text: with_currency(1.15))
|
||||
expect(page).to have_selector('#tax-row', text: with_currency(0.00))
|
||||
|
||||
# Voucher
|
||||
within "#line-items" do
|
||||
|
||||
Reference in New Issue
Block a user