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:
authorJob van der Voort <jobvandervoort@gmail.com>2015-04-21 17:21:51 +0300
committerJob van der Voort <jobvandervoort@gmail.com>2015-04-21 17:21:51 +0300
commita8e93b7f51d968c1380ed210499869b62b07fd15 (patch)
treec864e80dfd9cf4f83fcede678acc986e3a125bf5 /features/steps/dashboard/new_project.rb
parent0625b15a481b3a3edd88110b3c18031ad9068d2f (diff)
Version 7.10.0.rc5v7.10.0.rc5
Diffstat (limited to 'features/steps/dashboard/new_project.rb')
-rw-r--r--features/steps/dashboard/new_project.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/features/steps/dashboard/new_project.rb b/features/steps/dashboard/new_project.rb
deleted file mode 100644
index 5e588ceb780..00000000000
--- a/features/steps/dashboard/new_project.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-class Spinach::Features::NewProject < Spinach::FeatureSteps
- include SharedAuthentication
- include SharedPaths
- include SharedProject
-
- step 'I click "New project" link' do
- click_link "New project"
- end
-
- step 'I see "New project" page' do
- page.should have_content("Project path")
- end
-
- step 'I click on "Import project from GitHub"' do
- first('.how_to_import_link').click
- end
-
- step 'I see instructions on how to import from GitHub' do
- github_modal = first('.modal-body')
- github_modal.should be_visible
- github_modal.should have_content "To enable importing projects from GitHub"
-
- all('.modal-body').each do |element|
- element.should_not be_visible unless element == github_modal
- end
- end
-end