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>2024-01-23 15:07:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-23 15:07:23 +0300
commit84b507d17bad7636a02ae2e9f59e8eb219ad7e15 (patch)
treefb544e6ae2990ec9b7ccd21c7add91a89623f4de /spec/lib/bulk_imports/projects/pipelines/project_feature_pipeline_spec.rb
parent5831f05b4ce3e5af23c98a8c9495419509df6d62 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/bulk_imports/projects/pipelines/project_feature_pipeline_spec.rb')
-rw-r--r--spec/lib/bulk_imports/projects/pipelines/project_feature_pipeline_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/lib/bulk_imports/projects/pipelines/project_feature_pipeline_spec.rb b/spec/lib/bulk_imports/projects/pipelines/project_feature_pipeline_spec.rb
index 1f0defdd20c..96c54964851 100644
--- a/spec/lib/bulk_imports/projects/pipelines/project_feature_pipeline_spec.rb
+++ b/spec/lib/bulk_imports/projects/pipelines/project_feature_pipeline_spec.rb
@@ -2,7 +2,7 @@
require 'spec_helper'
-RSpec.describe BulkImports::Projects::Pipelines::ProjectFeaturePipeline do
+RSpec.describe BulkImports::Projects::Pipelines::ProjectFeaturePipeline, feature_category: :importers do
let_it_be(:project) { create(:project) }
let_it_be(:entity) { create(:bulk_import_entity, :project_entity, project: project) }
let_it_be(:tracker) { create(:bulk_import_tracker, entity: entity) }
@@ -35,6 +35,8 @@ RSpec.describe BulkImports::Projects::Pipelines::ProjectFeaturePipeline do
allow(extractor).to receive(:extract).and_return(BulkImports::Pipeline::ExtractedData.new(data: [[project_feature, 0]]))
end
+ allow(pipeline).to receive(:set_source_objects_counter)
+
pipeline.run
project_feature.each_pair do |key, value|