Commit 6caa5a84069e2b45e647999bb37952c5ff4f7b73

Authored by Dmitriy Zaporozhets
1 parent ac952d04

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 9  
10 10 Then 'I should see list of available services' do
11 11 page.should have_content 'Services'
12   - page.should have_content 'Jenkins'
  12 + page.should have_content 'Campfire'
13 13 page.should have_content 'GitLab CI'
14 14 end
15 15  
... ... @@ -19,12 +19,12 @@ class ProjectServices < Spinach::FeatureSteps
19 19  
20 20 And 'I fill gitlab-ci settings' do
21 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 24 click_button 'Save'
25 25 end
26 26  
27 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 29 end
30 30 end
... ...