Commit 4f8a83cc authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch...

Merge branch '218236-flaky-test-spec-lib-gitlab-import_export-group-legacy_tree_restorer_spec-rb' into 'master'

Fix a flaky spec wrongly asserting array order

Closes #218236

See merge request gitlab-org/gitlab!32436
parents fcea09f7 50261fa3
......@@ -141,7 +141,7 @@ describe Gitlab::ImportExport::Group::LegacyTreeRestorer do
let(:filepath) { "group_exports/visibility_levels/#{visibility_level}" }
it "imports all subgroups as #{visibility_level}" do
expect(group.children.map(&:visibility_level)).to eq(expected_visibilities)
expect(group.children.map(&:visibility_level)).to match_array(expected_visibilities)
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