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:
Diffstat (limited to 'spec/lib/gitlab/import_export/importer_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/importer_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/import_export/importer_spec.rb b/spec/lib/gitlab/import_export/importer_spec.rb
index 53d205850c8..a98080b682b 100644
--- a/spec/lib/gitlab/import_export/importer_spec.rb
+++ b/spec/lib/gitlab/import_export/importer_spec.rb
@@ -80,7 +80,7 @@ RSpec.describe Gitlab::ImportExport::Importer do
context 'with sample_data_template' do
it 'initializes the Sample::TreeRestorer' do
- project.create_or_update_import_data(data: { sample_data: true })
+ project.build_or_assign_import_data(data: { sample_data: true })
expect(Gitlab::ImportExport::Project::Sample::TreeRestorer).to receive(:new).and_call_original
@@ -112,7 +112,7 @@ RSpec.describe Gitlab::ImportExport::Importer do
end
it 'sets the correct visibility_level when visibility level is a string' do
- project.create_or_update_import_data(
+ project.build_or_assign_import_data(
data: { override_params: { visibility_level: Gitlab::VisibilityLevel::PRIVATE.to_s } }
)