From 87755749ff5c894bef4f52561402667070862864 Mon Sep 17 00:00:00 2001 From: Behrokh Satarnejad Date: Thu, 5 Dec 2024 12:15:55 +0100 Subject: [PATCH] fix failing test --- spec/controllers/work_package_relations_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/work_package_relations_controller_spec.rb b/spec/controllers/work_package_relations_controller_spec.rb index f6f8b36b2d84..2b8a63df5695 100644 --- a/spec/controllers/work_package_relations_controller_spec.rb +++ b/spec/controllers/work_package_relations_controller_spec.rb @@ -117,7 +117,7 @@ new_relation = Relation.last expect(WorkPackageRelationsTab::IndexComponent).to have_received(:new) - .with(work_package:, relations: [relation, new_relation], children:) + .with(work_package:, relations: [relation, new_relation], children:, scroll_target_id: unrelated_work_package.id) expect(controller).to have_received(:replace_via_turbo_stream) .with(component: an_instance_of(WorkPackageRelationsTab::IndexComponent)) end