Skip to content

Commit

Permalink
test tax totals on the printed version of the invoice (v3)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdellani committed Nov 13, 2023
1 parent e37f9e5 commit eae0c64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/system/admin/invoice_print_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@
# 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"
expect(page).to have_content "Total tax: $274.87"
# Order Totals
expect(page).to have_content "Total (Incl. tax): $1,733.54"
expect(page).to have_content "Total (Excl. tax): $1,458.67"
Expand Down Expand Up @@ -658,6 +659,7 @@
# 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"
expect(page).to have_content "Total tax: $328.15"
# Order Totals
expect(page).to have_content "Total (Incl. tax): $2,061.69"
expect(page).to have_content "Total (Excl. tax): $1,733.54"
Expand Down

0 comments on commit eae0c64

Please sign in to comment.