Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatarnejad committed Dec 5, 2024
1 parent c15aef1 commit 8775574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/work_package_relations_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8775574

Please sign in to comment.