Commit 4862587e authored by Thong Kuah's avatar Thong Kuah

Merge branch 'fix_flaky_epic_issues_spec' into 'master'

Fix flaky epic issues spec

See merge request gitlab-org/gitlab!76315
parents 7cb10a1b 84ea3a54
...@@ -120,8 +120,8 @@ RSpec.describe 'Getting issues for an epic' do ...@@ -120,8 +120,8 @@ RSpec.describe 'Getting issues for an epic' do
expect(response).to have_gitlab_http_status(:success) expect(response).to have_gitlab_http_status(:success)
result = issue_ids result = issue_ids
expect(result[epic.iid]).to eq [issue.to_global_id.to_s, confidential_issue.to_global_id.to_s] expect(result[epic.iid]).to match_array [issue.to_global_id.to_s, confidential_issue.to_global_id.to_s]
expect(result[epic2.iid]).to eq [issue2.to_global_id.to_s] expect(result[epic2.iid]).to match_array [issue2.to_global_id.to_s]
end end
it 'avoids N+1 queries' do it 'avoids N+1 queries' do
......
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