diff --git a/spec/support/templates/admin/stores.rb b/spec/support/templates/admin/stores.rb index 51db584a899e..f9a8750d8424 100644 --- a/spec/support/templates/admin/stores.rb +++ b/spec/support/templates/admin/stores.rb @@ -2,5 +2,9 @@ ActiveAdmin.register Store do permit_params :name, :review_status, :reject_reason + preserve_default_filters! + filter :review_status, as: :select, collection: config.resource_class.review_statuses, multiple: true + filter :reject_reason, as: :select, collection: config.resource_class.reject_reasons + index pagination_total: false end