diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-25 19:34:50 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-25 19:34:50 +0400 |
commit | b6adabb45da1413db2c9c6585ff69fa4e40d05fe (patch) | |
tree | 6c5e876c457924c294d36ae1520eaaf2e75c39af /features | |
parent | 7bb03a536a33b4e61f75b62e060c4b174b798f69 (diff) | |
parent | 82f3446fde4c6c0507e1752152b9e3be68ae4aa8 (diff) |
Merge branch '6-1-stable'
Conflicts:
lib/tasks/gitlab/check.rake
Diffstat (limited to 'features')
-rw-r--r-- | features/project/service.feature | 6 | ||||
-rw-r--r-- | features/steps/project/project_services.rb | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/features/project/service.feature b/features/project/service.feature index 6bb0c3e2c57..e685c385d1d 100644 --- a/features/project/service.feature +++ b/features/project/service.feature @@ -18,3 +18,9 @@ Feature: Project Services And I click hipchat service link And I fill hipchat settings Then I should see hipchat service settings saved + + Scenario: Activate pivotaltracker service + When I visit project "Shop" services page + And I click pivotaltracker service link + And I fill pivotaltracker settings + Then I should see pivotaltracker service settings saved diff --git a/features/steps/project/project_services.rb b/features/steps/project/project_services.rb index 10feb8ea8be..a24100ff8c0 100644 --- a/features/steps/project/project_services.rb +++ b/features/steps/project/project_services.rb @@ -44,4 +44,18 @@ class ProjectServices < Spinach::FeatureSteps find_field('Room').value.should == 'gitlab' end + + And 'I click pivotaltracker service link' do + click_link 'PivotalTracker' + end + + And 'I fill pivotaltracker settings' do + check 'Active' + fill_in 'Token', with: 'verySecret' + click_button 'Save' + end + + Then 'I should see pivotaltracker service settings saved' do + find_field('Token').value.should == 'verySecret' + end end |