summaryrefslogtreecommitdiff
path: root/spec/requests/api/graphql/mutations/work_items/update_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/api/graphql/mutations/work_items/update_spec.rb')
-rw-r--r--spec/requests/api/graphql/mutations/work_items/update_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/graphql/mutations/work_items/update_spec.rb b/spec/requests/api/graphql/mutations/work_items/update_spec.rb
index 14cb18d04b8..b33a394d023 100644
--- a/spec/requests/api/graphql/mutations/work_items/update_spec.rb
+++ b/spec/requests/api/graphql/mutations/work_items/update_spec.rb
@@ -489,10 +489,10 @@ RSpec.describe 'Update a work item', feature_category: :team_planning do
expect(response).to have_gitlab_http_status(:success)
expect(widgets_response).to include(
{
- 'children' => { 'edges' => [
+ 'children' => { 'edges' => match_array([
{ 'node' => { 'id' => valid_child2.to_global_id.to_s } },
{ 'node' => { 'id' => valid_child1.to_global_id.to_s } }
- ] },
+ ]) },
'parent' => nil,
'type' => 'HIERARCHY'
}