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/milestones_importer_spec.rb')
-rw-r--r--spec/lib/gitlab/github_import/importer/milestones_importer_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/lib/gitlab/github_import/importer/milestones_importer_spec.rb b/spec/lib/gitlab/github_import/importer/milestones_importer_spec.rb
index cf44d510c80..fa7283d210b 100644
--- a/spec/lib/gitlab/github_import/importer/milestones_importer_spec.rb
+++ b/spec/lib/gitlab/github_import/importer/milestones_importer_spec.rb
@@ -80,13 +80,12 @@ RSpec.describe Gitlab::GithubImport::Importer::MilestonesImporter, :clean_gitlab
.to receive(:each_milestone)
.and_return([milestone])
- 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 can't be blank"],
- github_identifiers: { iid: 2, object_type: :milestone, title: nil }
+ external_identifiers: { iid: 2, object_type: :milestone, title: nil }
)
rows, errors = importer.build_milestones