Commit 82e5e41c authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'prepare-group-tree-restorer-to-ndjson' into 'master'

Prepare `...Group::TreeRestorer` to ndjson

See merge request gitlab-org/gitlab!29573
parents b511d1fa e923cb35
......@@ -33,10 +33,12 @@ module Groups
end
def restorer
@restorer ||= Gitlab::ImportExport::Group::TreeRestorer.new(user: @current_user,
@restorer ||= Gitlab::ImportExport::Group::LegacyTreeRestorer.new(
user: @current_user,
shared: @shared,
group: @group,
group_hash: nil)
group_hash: nil
)
end
def remove_import_file
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Gitlab::ImportExport::Group::TreeRestorer do
describe Gitlab::ImportExport::Group::LegacyTreeRestorer do
include ImportExport::CommonUtil
let(:user) { create(:user) }
......
......@@ -3,7 +3,7 @@
module Gitlab
module ImportExport
module Group
class TreeRestorer
class LegacyTreeRestorer
include Gitlab::Utils::StrongMemoize
attr_reader :user
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Gitlab::ImportExport::Group::TreeRestorer do
describe Gitlab::ImportExport::Group::LegacyTreeRestorer do
include ImportExport::CommonUtil
let(:shared) { Gitlab::ImportExport::Shared.new(group) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment