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/github_import/importer/labels_importer_spec.rb')
-rw-r--r--spec/lib/gitlab/github_import/importer/labels_importer_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/lib/gitlab/github_import/importer/labels_importer_spec.rb b/spec/lib/gitlab/github_import/importer/labels_importer_spec.rb
index fc8d9cee066..0328a36b646 100644
--- a/spec/lib/gitlab/github_import/importer/labels_importer_spec.rb
+++ b/spec/lib/gitlab/github_import/importer/labels_importer_spec.rb
@@ -50,13 +50,12 @@ feature_category: :importers do
label = { id: 1, name: 'bug,bug', color: 'ffffff' }
expect(importer).to receive(:each_label).and_return([label])
- expect(Gitlab::Import::Logger).to receive(:error)
+ expect(Gitlab::GithubImport::Logger).to receive(:error)
.with(
- import_type: :github,
project_id: project.id,
importer: described_class.name,
message: ['Title is invalid'],
- github_identifiers: { title: 'bug,bug', object_type: :label }
+ external_identifiers: { title: 'bug,bug', object_type: :label }
)
rows, errors = importer.build_labels