Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
64e012a3
Commit
64e012a3
authored
Sep 25, 2013
by
Johannes Becker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added spinach Tests for pivotaltracker service
parent
435a5ff8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
features/project/service.feature
features/project/service.feature
+6
-0
features/steps/project/project_services.rb
features/steps/project/project_services.rb
+14
-0
No files found.
features/project/service.feature
View file @
64e012a3
...
@@ -18,3 +18,9 @@ Feature: Project Services
...
@@ -18,3 +18,9 @@ Feature: Project Services
And
I click hipchat service link
And
I click hipchat service link
And
I fill hipchat settings
And
I fill hipchat settings
Then
I should see hipchat service settings saved
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
features/steps/project/project_services.rb
View file @
64e012a3
...
@@ -44,4 +44,18 @@ class ProjectServices < Spinach::FeatureSteps
...
@@ -44,4 +44,18 @@ class ProjectServices < Spinach::FeatureSteps
find_field
(
'Room'
).
value
.
should
==
'gitlab'
find_field
(
'Room'
).
value
.
should
==
'gitlab'
end
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
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment