diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 19:57:30 -0500 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 19:57:30 -0500 |
commit | 7ba4482fcf6faae162ceb920044f4ec07ef048af (patch) | |
tree | 8aacd9f6989cd5840c22d7e5394c339a84397d3e /features | |
parent | 77daadc92c8574c048511c4f8363d51ea78b1b9e (diff) | |
download | gitlab-ce-7ba4482fcf6faae162ceb920044f4ec07ef048af.tar.gz |
fixes failing test by updating project clone instructions
Diffstat (limited to 'features')
-rw-r--r-- | features/project/create.feature | 1 | ||||
-rw-r--r-- | features/steps/project/create.rb | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/features/project/create.feature b/features/project/create.feature index a86079143e5..27136798e36 100644 --- a/features/project/create.feature +++ b/features/project/create.feature @@ -1,3 +1,4 @@ +@project-create Feature: Project Create In order to get access to project sections A user with ability to create a project diff --git a/features/steps/project/create.rb b/features/steps/project/create.rb index f90218f3791..0c247c83133 100644 --- a/features/steps/project/create.rb +++ b/features/steps/project/create.rb @@ -26,18 +26,20 @@ class Spinach::Features::ProjectCreate < Spinach::FeatureSteps end step 'I click on HTTP' do - click_button 'HTTP' + 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}" + expect(page).to have_content Project.last.http_url_to_repo end step 'If I click on SSH' do - click_button 'SSH' + 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}" + expect(page).to have_content Project.last.ssh_url_to_repo end end |