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
Kazuhiko Shiozaki
gitlab-ce
Commits
ac6c0507
Commit
ac6c0507
authored
Jan 05, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix network tests. Removed console.log
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
46e0e592
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
app/assets/javascripts/stat_graph_contributors_graph.js.coffee
...ssets/javascripts/stat_graph_contributors_graph.js.coffee
+0
-1
app/views/projects/network/_head.html.haml
app/views/projects/network/_head.html.haml
+1
-1
features/steps/project/project_network_graph.rb
features/steps/project/project_network_graph.rb
+2
-2
No files found.
app/assets/javascripts/stat_graph_contributors_graph.js.coffee
View file @
ac6c0507
...
@@ -84,7 +84,6 @@ class window.ContributorsMasterGraph extends ContributorsGraph
...
@@ -84,7 +84,6 @@ class window.ContributorsMasterGraph extends ContributorsGraph
x
(
d
.
date
)
x
(
d
.
date
)
).
y0
(
@
height
).
y1
((
d
)
->
).
y0
(
@
height
).
y1
((
d
)
->
xa
=
d
.
commits
=
d
.
commits
?
d
.
additions
?
d
.
deletions
xa
=
d
.
commits
=
d
.
commits
?
d
.
additions
?
d
.
deletions
console
.
log
(
xa
)
y
(
xa
)
y
(
xa
)
).
interpolate
(
"basis"
)
).
interpolate
(
"basis"
)
create_brush
:
->
create_brush
:
->
...
...
app/views/projects/network/_head.html.haml
View file @
ac6c0507
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.col-sm-2
.col-sm-2
=
render
partial:
'shared/ref_switcher'
,
locals:
{
destination:
'graph'
}
=
render
partial:
'shared/ref_switcher'
,
locals:
{
destination:
'graph'
}
.col-sm-10
.col-sm-10
=
form_tag
project_network_path
(
@project
,
@id
),
method: :get
,
class:
'form-inline'
do
|
f
|
=
form_tag
project_network_path
(
@project
,
@id
),
method: :get
,
class:
'form-inline
network-form
'
do
|
f
|
=
label_tag
:search
,
"Looking for"
,
class:
'light inline-label'
=
label_tag
:search
,
"Looking for"
,
class:
'light inline-label'
=
text_field_tag
:extended_sha1
,
@options
[
:extended_sha1
],
placeholder:
"Input an extended SHA1 syntax"
,
class:
"search-input form-control input-mx-250"
=
text_field_tag
:extended_sha1
,
@options
[
:extended_sha1
],
placeholder:
"Input an extended SHA1 syntax"
,
class:
"search-input form-control input-mx-250"
=
button_tag
type:
'submit'
,
class:
'btn btn-success'
do
=
button_tag
type:
'submit'
,
class:
'btn btn-success'
do
...
...
features/steps/project/project_network_graph.rb
View file @
ac6c0507
...
@@ -70,7 +70,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
...
@@ -70,7 +70,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end
end
When
'I looking for a commit by SHA of "v2.1.0"'
do
When
'I looking for a commit by SHA of "v2.1.0"'
do
within
".
content .search
"
do
within
".
network-form
"
do
fill_in
'extended_sha1'
,
with:
'98d6492'
fill_in
'extended_sha1'
,
with:
'98d6492'
find
(
'button'
).
click
find
(
'button'
).
click
end
end
...
@@ -84,7 +84,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
...
@@ -84,7 +84,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end
end
When
'I look for a commit by ";"'
do
When
'I look for a commit by ";"'
do
within
".
content .search
"
do
within
".
network-form
"
do
fill_in
'extended_sha1'
,
with:
';'
fill_in
'extended_sha1'
,
with:
';'
find
(
'button'
).
click
find
(
'button'
).
click
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