Improve move and clone work item specs performance
Instead of running the move or clone service for each widget we can run it once with all widgets and check that the output is the expected one for each widget data. This reduces the time spent on running the spec as we run it once vs 8 times now and more times as we keep adding widgets. This also prevents issues where the order in which some widgets are run is important.
显示
- ee/spec/support/shared_examples/services/ee/work_items/data_sync/cloneable_and_moveable_data_stared_examples.rb 30 个添加, 0 个删除.../data_sync/cloneable_and_moveable_data_stared_examples.rb
- spec/support/shared_examples/services/work_items/data_sync/cloneable_and_moveable_data_stared_examples.rb 44 个添加, 65 个删除.../data_sync/cloneable_and_moveable_data_stared_examples.rb
加载中
想要评论请 注册 或 登录