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/bulk_imports/projects/transformers/project_attributes_transformer_spec.rb')
-rw-r--r--spec/lib/bulk_imports/projects/transformers/project_attributes_transformer_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/bulk_imports/projects/transformers/project_attributes_transformer_spec.rb b/spec/lib/bulk_imports/projects/transformers/project_attributes_transformer_spec.rb
index 0e3d8b36fb2..ac74f17cc21 100644
--- a/spec/lib/bulk_imports/projects/transformers/project_attributes_transformer_spec.rb
+++ b/spec/lib/bulk_imports/projects/transformers/project_attributes_transformer_spec.rb
@@ -19,7 +19,7 @@ RSpec.describe BulkImports::Projects::Transformers::ProjectAttributesTransformer
end
let(:destination_group) { create(:group) }
- let(:destination_namespace) { destination_group.full_path }
+ let(:destination_namespace) { destination_group&.full_path }
let(:tracker) { create(:bulk_import_tracker, entity: entity) }
let(:context) { BulkImports::Pipeline::Context.new(tracker) }
let(:data) do
@@ -127,7 +127,7 @@ RSpec.describe BulkImports::Projects::Transformers::ProjectAttributesTransformer
end
describe 'visibility level' do
- include_examples 'visibility level settings'
+ include_examples 'visibility level settings', true
end
end
end