diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2019-01-02 18:21:17 +0300 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2019-01-29 17:38:40 +0300 |
commit | 4ac06d344b8587ec3abdf2920f838babf7c6c324 (patch) | |
tree | 0776c838e8cc614bc2deb2ad6a7d0658b06bb6c0 /spec/lib/gitlab/github_import/importer | |
parent | 820739eb09a0182054a7713271a70b912c4a7e27 (diff) |
Revert " Trigger iid logic from GitHub importer for merge requests."
This reverts commit fb98496f49bbb324b808523ea97f0844682fe1ac.
Diffstat (limited to 'spec/lib/gitlab/github_import/importer')
-rw-r--r-- | spec/lib/gitlab/github_import/importer/pull_request_importer_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/lib/gitlab/github_import/importer/pull_request_importer_spec.rb b/spec/lib/gitlab/github_import/importer/pull_request_importer_spec.rb index 25684ea9e2c..0f21b8843b6 100644 --- a/spec/lib/gitlab/github_import/importer/pull_request_importer_spec.rb +++ b/spec/lib/gitlab/github_import/importer/pull_request_importer_spec.rb @@ -111,16 +111,6 @@ describe Gitlab::GithubImport::Importer::PullRequestImporter, :clean_gitlab_redi expect(mr).to be_instance_of(MergeRequest) expect(exists).to eq(false) end - - it 'triggers internal_id functionality to track greatest iids' do - mr = build_stubbed(:merge_request, source_project: project, target_project: project) - allow(importer).to receive(:insert_and_return_id).and_return(mr.id) - allow(project.merge_requests).to receive(:find).with(mr.id).and_return(mr) - - expect(mr).to receive(:ensure_target_project_iid!) - - importer.create_merge_request - end end context 'when the author could not be found' do |