11318 - fix flaky packing_report_spec

fix rubocop DurationArithmetic
This commit is contained in:
yasir azgar
2023-10-24 06:20:15 -07:00
committed by Yasir Azgar
parent a2f8b0db16
commit 3ba208e3d3

View File

@@ -9,7 +9,7 @@ describe Api::V0::ReportsController, type: :controller do
# rspec seems to remove empty values to setting something dummy so the
# default_params will not overwritting this params
fields_to_hide: [:none],
q: { order_created_at_lt: Time.zone.now }
q: { order_created_at_lt: 2.seconds.from_now }
}
}