Commit 64e012a3 authored by Johannes Becker's avatar Johannes Becker

Added spinach Tests for pivotaltracker service

parent 435a5ff8
......@@ -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
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment