diff options
author | Rémy Coutable <remy@rymai.me> | 2016-05-09 14:48:48 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-05-09 14:48:48 +0000 |
commit | d4d34b161b41539567332d45527bb10c9f0665e3 (patch) | |
tree | 484145a78e7aa113ca631a68c1aab45097394c66 /features/steps | |
parent | bdfe6dc319571dbae8340a7132e5bd6a8ea06764 (diff) | |
parent | f18ec70743375024aa7ec7bb86c437ca9198e729 (diff) | |
download | gitlab-ce-d4d34b161b41539567332d45527bb10c9f0665e3.tar.gz |
Merge branch 'rs-backport-ee-372' into 'master'
Backport changes from gitlab-org/gitlab-ee!372
Mostly replaces several Spinach tests with RSpec Feature tests.
See merge request !4043
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/create.rb | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/features/steps/project/create.rb b/features/steps/project/create.rb index 422b151eaa2..5f5f806df36 100644 --- a/features/steps/project/create.rb +++ b/features/steps/project/create.rb @@ -13,33 +13,9 @@ class Spinach::Features::ProjectCreate < Spinach::FeatureSteps expect(current_path).to eq namespace_project_path(Project.last.namespace, Project.last) end - step 'I should see empty project instuctions' do + 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 - - step 'I see empty project instuctions' 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 - - step 'I click on HTTP' do - find('#clone-dropdown').click - find('.http-selector').click - end - - step 'Remote url should update to http link' do - expect(page).to have_content "git remote add origin #{Project.last.http_url_to_repo}" - end - - step 'If I click on SSH' do - find('#clone-dropdown').click - find('.ssh-selector').click - end - - step 'Remote url should update to ssh link' do - expect(page).to have_content "git remote add origin #{Project.last.url_to_repo}" - end end |