summaryrefslogtreecommitdiff
path: root/features/steps/dashboard/new_project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/dashboard/new_project.rb')
-rw-r--r--features/steps/dashboard/new_project.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/features/steps/dashboard/new_project.rb b/features/steps/dashboard/new_project.rb
index 31f8924c38c..0bd621da0f3 100644
--- a/features/steps/dashboard/new_project.rb
+++ b/features/steps/dashboard/new_project.rb
@@ -28,14 +28,8 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps
first('.import_github').click
end
- step 'I see instructions on how to import from GitHub' do
- github_modal = first('.modal-body')
- expect(github_modal).to be_visible
- expect(github_modal).to have_content "To enable importing projects from GitHub"
-
- page.all('.modal-body').each do |element|
- expect(element).not_to be_visible unless element == github_modal
- end
+ step 'I am redirected to the Github import page' do
+ expect(current_path).to eq new_import_github_path
end
step 'I click on "Repo by URL"' do