summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-06-27 13:42:22 +0200
committerRémy Coutable <remy@rymai.me>2016-06-30 18:48:17 +0200
commitce6635406c8e2e4d336d6d7738a1e4916036871c (patch)
tree630e743cfba4adc0e94c2020ed1e86efffc5704b /features
parent12aa1f898dbfea3aaeb2de351ac1cccef304717f (diff)
downloadgitlab-ce-ce6635406c8e2e4d336d6d7738a1e4916036871c.tar.gz
Make GH one-off auth the default again for importing GH projects
Advertise the PAT as an alternative unless GH import is not configured. Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'features')
-rw-r--r--features/dashboard/new_project.feature2
-rw-r--r--features/steps/dashboard/new_project.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/features/dashboard/new_project.feature b/features/dashboard/new_project.feature
index 32c88965bcf..8ddafb6a7ac 100644
--- a/features/dashboard/new_project.feature
+++ b/features/dashboard/new_project.feature
@@ -21,7 +21,7 @@ Background:
Scenario: I should see instructions on how to import from GitHub
Given I see "New Project" page
When I click on "Import project from GitHub"
- Then I am redirected to the Github import page
+ Then I am redirected to the GitHub import page
@javascript
Scenario: I should see Google Code import page
diff --git a/features/steps/dashboard/new_project.rb b/features/steps/dashboard/new_project.rb
index 0bd621da0f3..09373168dad 100644
--- a/features/steps/dashboard/new_project.rb
+++ b/features/steps/dashboard/new_project.rb
@@ -28,7 +28,7 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps
first('.import_github').click
end
- step 'I am redirected to the Github import page' do
+ step 'I am redirected to the GitHub import page' do
expect(current_path).to eq new_import_github_path
end