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
a9e26861
Commit
a9e26861
authored
May 25, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update specs.
parent
2fa5c751
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
spec/javascripts/stat_graph_contributors_util_spec.js
spec/javascripts/stat_graph_contributors_util_spec.js
+5
-3
No files found.
spec/javascripts/stat_graph_contributors_util_spec.js
View file @
a9e26861
...
@@ -118,9 +118,11 @@ describe("ContributorsStatGraphUtil", function () {
...
@@ -118,9 +118,11 @@ describe("ContributorsStatGraphUtil", function () {
describe
(
"
#add_author
"
,
function
()
{
describe
(
"
#add_author
"
,
function
()
{
it
(
"
adds an author field to the collection
"
,
function
()
{
it
(
"
adds an author field to the collection
"
,
function
()
{
var
fake_author
=
{
author_name
:
"
Author
"
,
author_email
:
'
fake@email.com
'
}
var
fake_author
=
{
author_name
:
"
Author
"
,
author_email
:
'
fake@email.com
'
}
var
fake_collection
=
{}
var
fake_author_collection
=
{}
ContributorsStatGraphUtil
.
add_author
(
fake_author
,
fake_collection
)
var
fake_email_collection
=
{}
expect
(
fake_collection
[
fake_author
.
author_name
].
author_name
).
toEqual
(
"
Author
"
)
ContributorsStatGraphUtil
.
add_author
(
fake_author
,
fake_author_collection
,
fake_email_collection
)
expect
(
fake_author_collection
[
fake_author
.
author_name
].
author_name
).
toEqual
(
"
Author
"
)
expect
(
fake_email_collection
[
fake_author
.
author_email
].
author_name
).
toEqual
(
"
Author
"
)
})
})
})
})
...
...
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