Skip to content

Commit

Permalink
Improve Precision of Spec for New Version of BigDecimal
Browse files Browse the repository at this point in the history
  • Loading branch information
macanudo527 committed Oct 15, 2024
1 parent 010cb6a commit aa041d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/reports/sales_tax_totals_by_order_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
total = report.total_excl_tax(query_row)

# discounted order total - discounted order tax
expect(total).to eq((113.3 - 10) - (3.3 - 0.29))
expect(total).to eq((BigDecimal('113.3') - 10) - (BigDecimal('3.3') - BigDecimal('0.29')))
end
end
end
Expand Down

0 comments on commit aa041d5

Please sign in to comment.