summaryrefslogtreecommitdiff
path: root/spec/features/projects/new_project_spec.rb
diff options
context:
space:
mode:
authorScott Hampton <shampton@gitlab.com>2019-08-22 23:20:19 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-08-22 23:20:19 +0000
commit56294b4ea9b0a2054423c895b9a7667118cda0ad (patch)
treeb6108a6008bb486e13d61aa2150bbb1b97fff4fd /spec/features/projects/new_project_spec.rb
parentba67965ac5386164a38acda32ff4e547e61b0376 (diff)
downloadgitlab-ce-56294b4ea9b0a2054423c895b9a7667118cda0ad.tar.gz
Update GitHub CI/CD import page to use PAT only
Oauth2 tokens are causing issues with mirroring repos, because it effectively limits the number of repos you can mirror. Personal Access Tokens do not have this problem. This change removes the OAuth2 option from the import page for CI/CD only, and only provides the personal access token form.
Diffstat (limited to 'spec/features/projects/new_project_spec.rb')
-rw-r--r--spec/features/projects/new_project_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/new_project_spec.rb b/spec/features/projects/new_project_spec.rb
index 010a5de6930..22a0d268243 100644
--- a/spec/features/projects/new_project_spec.rb
+++ b/spec/features/projects/new_project_spec.rb
@@ -280,7 +280,7 @@ describe 'New project' do
end
it 'shows import instructions' do
- expect(page).to have_content('Import repositories from GitHub')
+ expect(page).to have_content('Authenticate with GitHub')
expect(current_path).to eq new_import_github_path
end
end