Test for explicit values, not reusing faulty code

This commit is contained in:
Maikel Linke
2022-08-30 11:10:40 +10:00
parent 04778c6fa8
commit 33feb7f63f

View File

@@ -92,10 +92,7 @@ describe '
end
def taxes_in_print_data
display_checkout_taxes_hash(order).map { |tax_rate, tax_value|
[tax_rate,
tax_value.format(with_currency: false)]
}
[["10.0%", "$11.00"]]
end
end
end