Commit 62792678 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-flaky-rename-projects-spec' into 'master'

Fix Flakiness for Gitlab::Database::RenameReservedPathsMigration::V1::RenameProjects #rename_projects invalidates the markdown cache of related projects

See merge request gitlab-org/gitlab!81853
parents e6deb2cf a06d6a3c
......@@ -49,7 +49,7 @@ RSpec.describe Gitlab::Database::RenameReservedPathsMigration::V1::RenameProject
it 'invalidates the markdown cache of related projects' do
expect(subject).to receive(:remove_cached_html_for_projects)
.with(projects.map(&:id))
.with(a_collection_containing_exactly(*projects.map(&:id)))
subject.rename_projects
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