ignore nil in payment report spec expectation

This commit is contained in:
Andy Brett
2021-04-08 14:39:30 -07:00
committed by Matt-Yorkley
parent 52525dc437
commit be0eb5f5f9

View File

@@ -56,7 +56,7 @@ describe "Payments Reports" do
order.ship_total.to_f + other_order.ship_total.to_f,
order.outstanding_balance.to_f + other_order.outstanding_balance.to_f,
order.total.to_f + other_order.total.to_f
].join(" "))
].compact.join(" "))
end
end