Commit 6caa5a84069e2b45e647999bb37952c5ff4f7b73
1 parent
ac952d04
Exists in
master
and in
4 other branches
Fix service tests in spinach
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
features/steps/project/project_services.rb
@@ -9,7 +9,7 @@ class ProjectServices < Spinach::FeatureSteps | @@ -9,7 +9,7 @@ class ProjectServices < Spinach::FeatureSteps | ||
9 | 9 | ||
10 | Then 'I should see list of available services' do | 10 | Then 'I should see list of available services' do |
11 | page.should have_content 'Services' | 11 | page.should have_content 'Services' |
12 | - page.should have_content 'Jenkins' | 12 | + page.should have_content 'Campfire' |
13 | page.should have_content 'GitLab CI' | 13 | page.should have_content 'GitLab CI' |
14 | end | 14 | end |
15 | 15 | ||
@@ -19,12 +19,12 @@ class ProjectServices < Spinach::FeatureSteps | @@ -19,12 +19,12 @@ class ProjectServices < Spinach::FeatureSteps | ||
19 | 19 | ||
20 | And 'I fill gitlab-ci settings' do | 20 | And 'I fill gitlab-ci settings' do |
21 | check 'Active' | 21 | check 'Active' |
22 | - fill_in 'Project URL', with: 'http://ci.gitlab.org/projects/3' | ||
23 | - fill_in 'CI Project token', with: 'verySecret' | 22 | + fill_in 'Project url', with: 'http://ci.gitlab.org/projects/3' |
23 | + fill_in 'Token', with: 'verySecret' | ||
24 | click_button 'Save' | 24 | click_button 'Save' |
25 | end | 25 | end |
26 | 26 | ||
27 | Then 'I should see service settings saved' do | 27 | Then 'I should see service settings saved' do |
28 | - find_field('Project URL').value.should == 'http://ci.gitlab.org/projects/3' | 28 | + find_field('Project url').value.should == 'http://ci.gitlab.org/projects/3' |
29 | end | 29 | end |
30 | end | 30 | end |