Changes tax parcels into the correct order

This should fail now, adding pending example on next commit

Wraps failing assertions around pending block

Addresses rubocop Style/LineEndConcatenation convention

Removes pending blocks
This commit is contained in:
filipefurtad0
2022-09-01 12:25:01 +01:00
parent 5a4b38ec55
commit e54acf3ca0

View File

@@ -254,11 +254,11 @@ describe '
expect(page).to have_content "Admin & Handling $120.00"
# Shipping
expect(page).to have_content "Shipping $100.55 10.0%"
# Tax totals
expect(page).to have_content "Total tax (10.0%): $9.14 " \
"Total tax (15.0%): $15.65 Total tax (20.0%): $250.08"
# Order Totals
expect(page).to have_content "Total (Incl. tax): $1,733.54"
expect(page).to have_content "Total tax (15.0%): $15.65"
expect(page).to have_content "Total tax (10.0%): $9.14"
expect(page).to have_content "Total tax (20.0%): $250.08"
expect(page).to have_content "Total (Excl. tax): $1,458.67"
end
end
@@ -385,11 +385,11 @@ describe '
expect(page).to have_content "Admin & Handling $120.00"
# Shipping
expect(page).to have_content "Shipping $100.55 10.0%"
# Tax totals
expect(page).to have_content "Total tax (10.0%): $10.06 " \
"Total tax (15.0%): $18.00 Total tax (20.0%): $300.09"
# Order Totals
expect(page).to have_content "Total (Incl. tax): $2,061.69"
expect(page).to have_content "Total tax (15.0%): $18"
expect(page).to have_content "Total tax (10.0%): $10.06"
expect(page).to have_content "Total tax (20.0%): $300.09"
expect(page).to have_content "Total (Excl. tax): $1,733.54"
end
end