diff options
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.rb | 5 |
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 |