Fix contributor deserialize test
This commit is contained in:
@@ -42,6 +42,19 @@ module('Serializers contributor', function() {
|
|||||||
let expected = {
|
let expected = {
|
||||||
name: 'Satoshi Nakamoto',
|
name: 'Satoshi Nakamoto',
|
||||||
kind: 'person',
|
kind: 'person',
|
||||||
|
accounts: [
|
||||||
|
{
|
||||||
|
"site": "github.com",
|
||||||
|
"uid": 123,
|
||||||
|
"url": "https://github.com/therealsatoshi",
|
||||||
|
"username": "therealsatoshi"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"site": "wiki.kosmos.org",
|
||||||
|
"url": "https://wiki.kosmos.org/User:Satoshi",
|
||||||
|
"username": "Satoshi"
|
||||||
|
}
|
||||||
|
],
|
||||||
github_uid: 123,
|
github_uid: 123,
|
||||||
github_username: 'therealsatoshi',
|
github_username: 'therealsatoshi',
|
||||||
wiki_username: 'Satoshi',
|
wiki_username: 'Satoshi',
|
||||||
|
|||||||
Reference in New Issue
Block a user