BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
service.feature
features/project/service.feature
+6
-0
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
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
features/steps/project/project_services.rb
View file @
64e012a3
...
...
@@ -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
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