Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2018-08-14 19:21:48 +0300
committerValery Sizov <valery@gitlab.com>2018-08-14 19:21:48 +0300
commit581a946f5a977a500e55d586bfddc36a722fd659 (patch)
tree1932dd3986c321b485d1f3fa2b682c6692f361c9 /spec/lib/gitlab/cleanup
parente610b41e2458601fb1821dcf46a15dc758e032bd (diff)
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6860
Diffstat (limited to 'spec/lib/gitlab/cleanup')
-rw-r--r--spec/lib/gitlab/cleanup/project_uploads_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/gitlab/cleanup/project_uploads_spec.rb b/spec/lib/gitlab/cleanup/project_uploads_spec.rb
index 37b38776775..11e605eece6 100644
--- a/spec/lib/gitlab/cleanup/project_uploads_spec.rb
+++ b/spec/lib/gitlab/cleanup/project_uploads_spec.rb
@@ -244,9 +244,11 @@ describe Gitlab::Cleanup::ProjectUploads do
orphaned1 = create(:upload, :personal_snippet_upload, :with_file)
orphaned2 = create(:upload, :namespace_upload, :with_file)
orphaned3 = create(:upload, :attachment_upload, :with_file)
+ orphaned4 = create(:upload, :favicon_upload, :with_file)
paths << orphaned1.absolute_path
paths << orphaned2.absolute_path
paths << orphaned3.absolute_path
+ paths << orphaned4.absolute_path
Upload.delete_all
expect(logger).not_to receive(:info).with(/move|fix/i)