diff --git a/spec/features/admin/reports/payments_report_spec.rb b/spec/features/admin/reports/payments_report_spec.rb index 11c828593e..8ed50fcf70 100644 --- a/spec/features/admin/reports/payments_report_spec.rb +++ b/spec/features/admin/reports/payments_report_spec.rb @@ -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