1d1363e2bb
Ran: - git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch - git checkout -b 9-2-5-security-patch origin/v9.2.2 - git apply patchfile.patch - git commit - [Got the sha ref for the commit] - git checkout -b upstream-9-2-security master - git cherry-pick <SHA of the patchfile commit> - [Resolved conflicts] - git cherry-pick --continue
11 lines
322 B
Ruby
11 lines
322 B
Ruby
require 'spec_helper'
|
|
|
|
describe Gitlab::UploadsTransfer do
|
|
it 'leaves avatar uploads where they are' do
|
|
project_with_avatar = create(:empty_project, :with_avatar)
|
|
|
|
described_class.new.rename_namespace('project', 'project-renamed')
|
|
|
|
expect(File.exist?(project_with_avatar.avatar.path)).to be_truthy
|
|
end
|
|
end
|