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/legacy_github_import/importer_spec.rb')
-rw-r--r--spec/lib/gitlab/legacy_github_import/importer_spec.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/lib/gitlab/legacy_github_import/importer_spec.rb b/spec/lib/gitlab/legacy_github_import/importer_spec.rb
index e69edbe6dc0..1800b42160d 100644
--- a/spec/lib/gitlab/legacy_github_import/importer_spec.rb
+++ b/spec/lib/gitlab/legacy_github_import/importer_spec.rb
@@ -260,28 +260,6 @@ RSpec.describe Gitlab::LegacyGithubImport::Importer do
)
end
- context 'when importing a GitHub project' do
- let(:api_root) { 'https://api.github.com' }
- let(:repo_root) { 'https://github.com' }
-
- subject { described_class.new(project) }
-
- it_behaves_like 'Gitlab::LegacyGithubImport::Importer#execute'
- it_behaves_like 'Gitlab::LegacyGithubImport::Importer#execute an error occurs'
- it_behaves_like 'Gitlab::LegacyGithubImport unit-testing'
-
- describe '#client' do
- it 'instantiates a Client' do
- allow(project).to receive(:import_data).and_return(double(credentials: credentials))
- expect(Gitlab::LegacyGithubImport::Client).to receive(:new).with(
- credentials[:user]
- )
-
- subject.client
- end
- end
- end
-
context 'when importing a Gitea project' do
let(:api_root) { 'https://try.gitea.io/api/v1' }
let(:repo_root) { 'https://try.gitea.io' }