Commit 17cfb1a0 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'tkuah-master-patch-83187' into 'master'

Fix flaky spec due to array returned out of order

See merge request gitlab-org/gitlab!64154
parents 239509b9 32d84d65
......@@ -20,7 +20,7 @@ RSpec.describe Resolvers::InstanceSecurityDashboard::ProjectsResolver do
end
context 'when provided object is InstanceSecurityDashboard' do
it { is_expected.to eq([project1, project2]) }
it { is_expected.to match_array([project1, project2]) }
end
context 'when object is not provided' 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