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