summaryrefslogtreecommitdiff
path: root/features/steps/project/create.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-17 15:51:33 +0900
committerShinya Maeda <shinya@gitlab.com>2018-05-17 15:51:33 +0900
commit1c636b8080bad4f9ea8fb6992277e421816271ce (patch)
treea1d562ea97ef2c1829a752906f9ee0ef27cb4682 /features/steps/project/create.rb
parent82a49d0fea1ace87b5619fbc4ed728f43fdef7bd (diff)
parent60b14e52963238bb2401004350d963eda1fabef6 (diff)
downloadgitlab-ce-1c636b8080bad4f9ea8fb6992277e421816271ce.tar.gz
Merge branch 'master' into per-project-pipeline-iid
Diffstat (limited to 'features/steps/project/create.rb')
-rw-r--r--features/steps/project/create.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/features/steps/project/create.rb b/features/steps/project/create.rb
deleted file mode 100644
index 60fa232672e..00000000000
--- a/features/steps/project/create.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-class Spinach::Features::ProjectCreate < Spinach::FeatureSteps
- include SharedAuthentication
- include SharedPaths
- include SharedUser
-
- step 'fill project form with valid data' do
- fill_in 'project_path', with: 'Empty'
- page.within '#content-body' do
- click_button "Create project"
- end
- end
-
- step 'I should see project page' do
- expect(page).to have_content "Empty"
- expect(current_path).to eq project_path(Project.last)
- end
-
- step 'I should see empty project instructions' do
- expect(page).to have_content "git init"
- expect(page).to have_content "git remote"
- expect(page).to have_content Project.last.url_to_repo
- end
-end