diff --git a/test/controllers/filters_controller_test.rb b/test/controllers/filters_controller_test.rb index 7285c89ac..ef50cc5a7 100644 --- a/test/controllers/filters_controller_test.rb +++ b/test/controllers/filters_controller_test.rb @@ -14,7 +14,7 @@ class FiltersControllerTest < ActionDispatch::IntegrationTest assignee_ids: [ users(:jz).id ], collection_ids: [ collections(:writebook).id ] } end - assert_redirected_to cards_path(Filter.last.as_params) + assert_redirected_to cards_path(filter_id: Filter.last.id) filter = Filter.last assert_predicate filter.indexed_by, :closed?