diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-22 18:11:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-22 18:11:26 +0300 |
commit | 5e44c2ba46e780552317dec29e3b51282dfd5696 (patch) | |
tree | ce3ad8f5d8ea5384ded1c537979e392ebe1b0182 /spec/uploaders | |
parent | 25bf8a36335fa281dc8fe56f355f3829ace703a5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/uploaders')
5 files changed, 0 insertions, 10 deletions
diff --git a/spec/uploaders/packages/composer/cache_uploader_spec.rb b/spec/uploaders/packages/composer/cache_uploader_spec.rb index a4ba4cc2a1e..7ceaa24f463 100644 --- a/spec/uploaders/packages/composer/cache_uploader_spec.rb +++ b/spec/uploaders/packages/composer/cache_uploader_spec.rb @@ -33,8 +33,6 @@ RSpec.describe Packages::Composer::CacheUploader do end it 'can store file remotely' do - allow(ObjectStorage::BackgroundMoveWorker).to receive(:perform_async) - cache_file expect(cache_file.file_store).to eq(described_class::Store::REMOTE) diff --git a/spec/uploaders/packages/debian/component_file_uploader_spec.rb b/spec/uploaders/packages/debian/component_file_uploader_spec.rb index de60ec94acf..bee82fb2715 100644 --- a/spec/uploaders/packages/debian/component_file_uploader_spec.rb +++ b/spec/uploaders/packages/debian/component_file_uploader_spec.rb @@ -38,8 +38,6 @@ RSpec.describe Packages::Debian::ComponentFileUploader do end it 'can store file remotely' do - allow(ObjectStorage::BackgroundMoveWorker).to receive(:perform_async) - component_file expect(component_file.file_store).to eq(described_class::Store::REMOTE) diff --git a/spec/uploaders/packages/debian/distribution_release_file_uploader_spec.rb b/spec/uploaders/packages/debian/distribution_release_file_uploader_spec.rb index dbbf69e3c8d..96655edb186 100644 --- a/spec/uploaders/packages/debian/distribution_release_file_uploader_spec.rb +++ b/spec/uploaders/packages/debian/distribution_release_file_uploader_spec.rb @@ -38,8 +38,6 @@ RSpec.describe Packages::Debian::DistributionReleaseFileUploader do end it 'can store file remotely' do - allow(ObjectStorage::BackgroundMoveWorker).to receive(:perform_async) - distribution expect(distribution.file_store).to eq(described_class::Store::REMOTE) diff --git a/spec/uploaders/packages/package_file_uploader_spec.rb b/spec/uploaders/packages/package_file_uploader_spec.rb index 0c7bf6432cb..7d270ad03c9 100644 --- a/spec/uploaders/packages/package_file_uploader_spec.rb +++ b/spec/uploaders/packages/package_file_uploader_spec.rb @@ -33,8 +33,6 @@ RSpec.describe Packages::PackageFileUploader do end it 'can store file remotely' do - allow(ObjectStorage::BackgroundMoveWorker).to receive(:perform_async) - package_file expect(package_file.file_store).to eq(described_class::Store::REMOTE) diff --git a/spec/uploaders/packages/rpm/repository_file_uploader_spec.rb b/spec/uploaders/packages/rpm/repository_file_uploader_spec.rb index 720e109533b..b3767ae179a 100644 --- a/spec/uploaders/packages/rpm/repository_file_uploader_spec.rb +++ b/spec/uploaders/packages/rpm/repository_file_uploader_spec.rb @@ -33,8 +33,6 @@ RSpec.describe Packages::Rpm::RepositoryFileUploader do end it 'can store file remotely' do - allow(ObjectStorage::BackgroundMoveWorker).to receive(:perform_async) - repository_file expect(repository_file.file_store).to eq(described_class::Store::REMOTE) |