From 6caa5a84069e2b45e647999bb37952c5ff4f7b73 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 22 May 2013 18:10:51 +0300 Subject: [PATCH] Fix service tests in spinach --- features/steps/project/project_services.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/features/steps/project/project_services.rb b/features/steps/project/project_services.rb index b1668ff..4b270cb 100644 --- a/features/steps/project/project_services.rb +++ b/features/steps/project/project_services.rb @@ -9,7 +9,7 @@ class ProjectServices < Spinach::FeatureSteps Then 'I should see list of available services' do page.should have_content 'Services' - page.should have_content 'Jenkins' + page.should have_content 'Campfire' page.should have_content 'GitLab CI' end @@ -19,12 +19,12 @@ class ProjectServices < Spinach::FeatureSteps And 'I fill gitlab-ci settings' do check 'Active' - fill_in 'Project URL', with: 'http://ci.gitlab.org/projects/3' - fill_in 'CI Project token', with: 'verySecret' + fill_in 'Project url', with: 'http://ci.gitlab.org/projects/3' + fill_in 'Token', with: 'verySecret' click_button 'Save' end Then 'I should see service settings saved' do - find_field('Project URL').value.should == 'http://ci.gitlab.org/projects/3' + find_field('Project url').value.should == 'http://ci.gitlab.org/projects/3' end end -- libgit2 0.21.2