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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-29 09:07:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-29 09:07:58 +0300
commit95085ac5cdbf6fcb12c6bdb167f663844d05147d (patch)
treea0107e379526090ec3be43eb81929e159b912a4c /spec/workers
parent111f9a7cc6834edfeb81c4b91bcf43df332096a7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/bulk_imports/relation_export_worker_spec.rb24
1 files changed, 5 insertions, 19 deletions
diff --git a/spec/workers/bulk_imports/relation_export_worker_spec.rb b/spec/workers/bulk_imports/relation_export_worker_spec.rb
index f91db0388a4..646af6c2a9c 100644
--- a/spec/workers/bulk_imports/relation_export_worker_spec.rb
+++ b/spec/workers/bulk_imports/relation_export_worker_spec.rb
@@ -47,28 +47,14 @@ RSpec.describe BulkImports::RelationExportWorker, feature_category: :importers d
context 'when export is batched' do
let(:batched) { true }
- context 'when bulk_imports_batched_import_export feature flag is disabled' do
- before do
- stub_feature_flags(bulk_imports_batched_import_export: false)
- end
-
- include_examples 'export service', BulkImports::RelationExportService
+ context 'when relation is batchable' do
+ include_examples 'export service', BulkImports::BatchedRelationExportService
end
- context 'when bulk_imports_batched_import_export feature flag is enabled' do
- before do
- stub_feature_flags(bulk_imports_batched_import_export: true)
- end
-
- context 'when relation is batchable' do
- include_examples 'export service', BulkImports::BatchedRelationExportService
- end
+ context 'when relation is not batchable' do
+ let(:relation) { 'namespace_settings' }
- context 'when relation is not batchable' do
- let(:relation) { 'namespace_settings' }
-
- include_examples 'export service', BulkImports::RelationExportService
- end
+ include_examples 'export service', BulkImports::RelationExportService
end
end