diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 12:40:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 12:40:42 +0300 |
commit | ee664acb356f8123f4f6b00b73c1e1cf0866c7fb (patch) | |
tree | f8479f94a28f66654c6a4f6fb99bad6b4e86a40e /spec/requests/api/graphql/work_item_spec.rb | |
parent | 62f7d5c5b69180e82ae8196b7b429eeffc8e7b4f (diff) |
Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42
Diffstat (limited to 'spec/requests/api/graphql/work_item_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/work_item_spec.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/spec/requests/api/graphql/work_item_spec.rb b/spec/requests/api/graphql/work_item_spec.rb index e4bb4109c76..2105e479ed2 100644 --- a/spec/requests/api/graphql/work_item_spec.rb +++ b/spec/requests/api/graphql/work_item_spec.rb @@ -128,10 +128,11 @@ RSpec.describe 'Query.work_item(id)' do hash_including( 'type' => 'HIERARCHY', 'parent' => nil, - 'children' => { 'nodes' => match_array([ - hash_including('id' => child_link1.work_item.to_gid.to_s), - hash_including('id' => child_link2.work_item.to_gid.to_s) - ]) } + 'children' => { 'nodes' => match_array( + [ + hash_including('id' => child_link1.work_item.to_gid.to_s), + hash_including('id' => child_link2.work_item.to_gid.to_s) + ]) } ) ) ) @@ -161,9 +162,10 @@ RSpec.describe 'Query.work_item(id)' do hash_including( 'type' => 'HIERARCHY', 'parent' => nil, - 'children' => { 'nodes' => match_array([ - hash_including('id' => child_link1.work_item.to_gid.to_s) - ]) } + 'children' => { 'nodes' => match_array( + [ + hash_including('id' => child_link1.work_item.to_gid.to_s) + ]) } ) ) ) |