Introduce FeatureToggle for columns logic

This commit is relative to 9094a65ab commit
This commit is contained in:
Jean-Baptiste Bellet
2022-05-31 13:56:56 +02:00
parent a6dc19f717
commit c102eecb18

View File

@@ -6,6 +6,9 @@ describe Api::V0::ReportsController, type: :controller do
let(:params) {
{
report_type: 'packing',
# 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 }
}
}