summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/lib/gitlab/import_export/project_tree_restorer_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
index 613e4cb78d0..71f84234e4e 100644
--- a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
+++ b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
@@ -385,6 +385,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
it 'imports labels' do
create(:group_label, name: 'Another label', group: project.group)
+
expect_any_instance_of(Gitlab::ImportExport::Shared).not_to receive(:error)
restored_project_json
@@ -394,6 +395,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
it 'imports milestones' do
create(:milestone, name: 'A milestone', group: project.group)
+
expect_any_instance_of(Gitlab::ImportExport::Shared).not_to receive(:error)
restored_project_json