Commit 94436ba0 authored by Stan Hu's avatar Stan Hu

Merge branch 'sh-fix-flaky-api-group-spec' into 'master'

Fix flaky spec/requests/api/groups_spec.rb

See merge request gitlab-org/gitlab!32377
parents b969416f 6658cbd6
...@@ -341,7 +341,7 @@ describe API::Groups do ...@@ -341,7 +341,7 @@ describe API::Groups do
expect(response).to have_gitlab_http_status(:ok) expect(response).to have_gitlab_http_status(:ok)
expect(response).to include_pagination_headers expect(response).to include_pagination_headers
expect(json_response).to be_an Array expect(json_response).to be_an Array
expect(response_groups).to eq([group2.id, group3.id]) expect(response_groups).to contain_exactly(group2.id, group3.id)
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment