mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
11318 - fix flaky packing_report_spec
fix rubocop DurationArithmetic
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user