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>2022-05-27 06:08:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-27 06:08:03 +0300
commitc258498bd253e0dbb038d51f237cee1ebf0d0f56 (patch)
tree2fafd83d60bf1b104b2bd39b199c79ddf91564a7 /spec/workers/bulk_imports
parent17f6b320a11fc5bc1261994a7a93b34096e365e3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/bulk_imports')
-rw-r--r--spec/workers/bulk_imports/pipeline_worker_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/bulk_imports/pipeline_worker_spec.rb b/spec/workers/bulk_imports/pipeline_worker_spec.rb
index 209ae8862b6..cbc7a146a54 100644
--- a/spec/workers/bulk_imports/pipeline_worker_spec.rb
+++ b/spec/workers/bulk_imports/pipeline_worker_spec.rb
@@ -24,7 +24,7 @@ RSpec.describe BulkImports::PipelineWorker do
allow_next_instance_of(BulkImports::Groups::Stage) do |instance|
allow(instance).to receive(:pipelines)
- .and_return([[0, pipeline_class]])
+ .and_return([{ stage: 0, pipeline: pipeline_class }])
end
end
@@ -253,7 +253,7 @@ RSpec.describe BulkImports::PipelineWorker do
allow_next_instance_of(BulkImports::Groups::Stage) do |instance|
allow(instance).to receive(:pipelines)
- .and_return([[0, file_extraction_pipeline]])
+ .and_return([{ stage: 0, pipeline: file_extraction_pipeline }])
end
end