Commit 8614e246 authored by Markus Koller's avatar Markus Koller

Merge branch...

Merge branch '231282-flaky-test-in-spec-lib-gitlab-import_export-group-tree_restorer_spec-rb' into 'master'

Fix flaky test in spec/lib/gitlab/import_export/group/tree_restorer_spec.rb

Closes #231282

See merge request gitlab-org/gitlab!37663
parents 27f85f86 37cf47a9
...@@ -172,7 +172,7 @@ RSpec.describe Gitlab::ImportExport::Group::TreeRestorer do ...@@ -172,7 +172,7 @@ RSpec.describe Gitlab::ImportExport::Group::TreeRestorer do
let(:filepath) { "group_exports/visibility_levels/#{visibility_level}" } let(:filepath) { "group_exports/visibility_levels/#{visibility_level}" }
it "imports all subgroups as #{visibility_level}" do 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 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