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
83a21c33
Unverified
Commit
83a21c33
authored
Sep 29, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tests for commits graph
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
3a8cd1fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
graph.feature
features/project/graph.feature
+6
-1
graph.rb
features/steps/project/graph.rb
+10
-0
No files found.
features/project/graph.feature
View file @
83a21c33
...
...
@@ -2,8 +2,13 @@ Feature: Project Graph
Background
:
Given
I sign in as a user
And
I own project
"Shop"
And
I visit project
"Shop"
graph page
@javascript
Scenario
:
I
should see project graphs
When
I visit project
"Shop"
graph page
Then
page should have graphs
@javascript
Scenario
:
I
should see project commits graphs
When
I visit project
"Shop"
commits graph page
Then
page should have commits graphs
features/steps/project/graph.rb
View file @
83a21c33
...
...
@@ -10,4 +10,14 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
project
=
Project
.
find_by
(
name:
"Shop"
)
visit
project_graph_path
(
project
,
"master"
)
end
step
'I visit project "Shop" commits graph page'
do
project
=
Project
.
find_by
(
name:
"Shop"
)
visit
commits_project_graph_path
(
project
,
"master"
)
end
step
'page should have commits graphs'
do
page
.
should
have_content
"Commits statistic for master"
page
.
should
have_content
"Commits per day of month"
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