{"action":"created","comment":{"url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/comments/50635002","id":50635002,"diff_hunk":"@@ -98,4 +112,71 @@ getServer(function (error, server) {\n \n     group.end()\n   })\n+\n+  test.only('PATCH /session/account/profile', function (group) {","path":"tests/integration/routes/profile-test.js","position":26,"original_position":26,"commit_id":"7558faa84e2d6be19747eac29e1e34d61e028ee6","original_commit_id":"7558faa84e2d6be19747eac29e1e34d61e028ee6","user":{"login":"antoinelyset","id":1465371,"avatar_url":"https://avatars.githubusercontent.com/u/1465371?v=3","gravatar_id":"","url":"https://api.github.com/users/antoinelyset","html_url":"https://github.com/antoinelyset","followers_url":"https://api.github.com/users/antoinelyset/followers","following_url":"https://api.github.com/users/antoinelyset/following{/other_user}","gists_url":"https://api.github.com/users/antoinelyset/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinelyset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinelyset/subscriptions","organizations_url":"https://api.github.com/users/antoinelyset/orgs","repos_url":"https://api.github.com/users/antoinelyset/repos","events_url":"https://api.github.com/users/antoinelyset/events{/privacy}","received_events_url":"https://api.github.com/users/antoinelyset/received_events","type":"User","site_admin":false},"body":"Haha, I forget to remove this ! Thanks :)","created_at":"2016-01-24T13:02:23Z","updated_at":"2016-01-24T13:02:23Z","html_url":"https://github.com/hoodiehq/hoodie-server-account/pull/64#discussion_r50635002","pull_request_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/comments/50635002"},"html":{"href":"https://github.com/hoodiehq/hoodie-server-account/pull/64#discussion_r50635002"},"pull_request":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/64","id":56982719,"html_url":"https://github.com/hoodiehq/hoodie-server-account/pull/64","diff_url":"https://github.com/hoodiehq/hoodie-server-account/pull/64.diff","patch_url":"https://github.com/hoodiehq/hoodie-server-account/pull/64.patch","issue_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/issues/64","number":64,"state":"open","locked":false,"title":"Update session account profile","user":{"login":"antoinelyset","id":1465371,"avatar_url":"https://avatars.githubusercontent.com/u/1465371?v=3","gravatar_id":"","url":"https://api.github.com/users/antoinelyset","html_url":"https://github.com/antoinelyset","followers_url":"https://api.github.com/users/antoinelyset/followers","following_url":"https://api.github.com/users/antoinelyset/following{/other_user}","gists_url":"https://api.github.com/users/antoinelyset/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinelyset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinelyset/subscriptions","organizations_url":"https://api.github.com/users/antoinelyset/orgs","repos_url":"https://api.github.com/users/antoinelyset/repos","events_url":"https://api.github.com/users/antoinelyset/events{/privacy}","received_events_url":"https://api.github.com/users/antoinelyset/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nI will need some help on the tests if you've got the time. Right now I've got an error ```Missing JSON list of 'docs'```. I think it comes front the fact that I'm not able to properly mock the request to update the account. (And I think, I need to mock 2 times the GET with ```mockUserFound```). Am I right ?\r\n\r\nThanks for your work too ! What a nice community ! :heart_eyes_cat: \r\n\r\nfixes #60","created_at":"2016-01-23T18:23:21Z","updated_at":"2016-01-24T13:02:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e94ea96c811a33de632012aef959172136548ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/64/commits","review_comments_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/64/comments","review_comment_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/issues/64/comments","statuses_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/statuses/7558faa84e2d6be19747eac29e1e34d61e028ee6","head":{"label":"antoinelyset:update-session-account-profile","ref":"update-session-account-profile","sha":"7558faa84e2d6be19747eac29e1e34d61e028ee6","user":{"login":"antoinelyset","id":1465371,"avatar_url":"https://avatars.githubusercontent.com/u/1465371?v=3","gravatar_id":"","url":"https://api.github.com/users/antoinelyset","html_url":"https://github.com/antoinelyset","followers_url":"https://api.github.com/users/antoinelyset/followers","following_url":"https://api.github.com/users/antoinelyset/following{/other_user}","gists_url":"https://api.github.com/users/antoinelyset/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinelyset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinelyset/subscriptions","organizations_url":"https://api.github.com/users/antoinelyset/orgs","repos_url":"https://api.github.com/users/antoinelyset/repos","events_url":"https://api.github.com/users/antoinelyset/events{/privacy}","received_events_url":"https://api.github.com/users/antoinelyset/received_events","type":"User","site_admin":false},"repo":{"id":50019062,"name":"hoodie-server-account","full_name":"antoinelyset/hoodie-server-account","owner":{"login":"antoinelyset","id":1465371,"avatar_url":"https://avatars.githubusercontent.com/u/1465371?v=3","gravatar_id":"","url":"https://api.github.com/users/antoinelyset","html_url":"https://github.com/antoinelyset","followers_url":"https://api.github.com/users/antoinelyset/followers","following_url":"https://api.github.com/users/antoinelyset/following{/other_user}","gists_url":"https://api.github.com/users/antoinelyset/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinelyset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinelyset/subscriptions","organizations_url":"https://api.github.com/users/antoinelyset/orgs","repos_url":"https://api.github.com/users/antoinelyset/repos","events_url":"https://api.github.com/users/antoinelyset/events{/privacy}","received_events_url":"https://api.github.com/users/antoinelyset/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antoinelyset/hoodie-server-account","description":"Account REST API backed by CouchDB","fork":true,"url":"https://api.github.com/repos/antoinelyset/hoodie-server-account","forks_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/forks","keys_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/teams","hooks_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/hooks","issue_events_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/issues/events{/number}","events_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/events","assignees_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/assignees{/user}","branches_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/branches{/branch}","tags_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/tags","blobs_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/git/refs{/sha}","trees_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/statuses/{sha}","languages_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/languages","stargazers_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/stargazers","contributors_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/contributors","subscribers_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/subscribers","subscription_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/subscription","commits_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/commits{/sha}","git_commits_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/git/commits{/sha}","comments_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/comments{/number}","issue_comment_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/issues/comments{/number}","contents_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/contents/{+path}","compare_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/merges","archive_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/downloads","issues_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/issues{/number}","pulls_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/pulls{/number}","milestones_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/milestones{/number}","notifications_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/labels{/name}","releases_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/releases{/id}","deployments_url":"https://api.github.com/repos/antoinelyset/hoodie-server-account/deployments","created_at":"2016-01-20T09:23:55Z","updated_at":"2016-01-20T09:23:55Z","pushed_at":"2016-01-23T23:03:17Z","git_url":"git://github.com/antoinelyset/hoodie-server-account.git","ssh_url":"git@github.com:antoinelyset/hoodie-server-account.git","clone_url":"https://github.com/antoinelyset/hoodie-server-account.git","svn_url":"https://github.com/antoinelyset/hoodie-server-account","homepage":null,"size":165,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hoodiehq:master","ref":"master","sha":"bcc85ba5a1248fa528442dba777e1390295184dd","user":{"login":"hoodiehq","id":1888826,"avatar_url":"https://avatars.githubusercontent.com/u/1888826?v=3","gravatar_id":"","url":"https://api.github.com/users/hoodiehq","html_url":"https://github.com/hoodiehq","followers_url":"https://api.github.com/users/hoodiehq/followers","following_url":"https://api.github.com/users/hoodiehq/following{/other_user}","gists_url":"https://api.github.com/users/hoodiehq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoodiehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoodiehq/subscriptions","organizations_url":"https://api.github.com/users/hoodiehq/orgs","repos_url":"https://api.github.com/users/hoodiehq/repos","events_url":"https://api.github.com/users/hoodiehq/events{/privacy}","received_events_url":"https://api.github.com/users/hoodiehq/received_events","type":"Organization","site_admin":false},"repo":{"id":45084146,"name":"hoodie-server-account","full_name":"hoodiehq/hoodie-server-account","owner":{"login":"hoodiehq","id":1888826,"avatar_url":"https://avatars.githubusercontent.com/u/1888826?v=3","gravatar_id":"","url":"https://api.github.com/users/hoodiehq","html_url":"https://github.com/hoodiehq","followers_url":"https://api.github.com/users/hoodiehq/followers","following_url":"https://api.github.com/users/hoodiehq/following{/other_user}","gists_url":"https://api.github.com/users/hoodiehq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoodiehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoodiehq/subscriptions","organizations_url":"https://api.github.com/users/hoodiehq/orgs","repos_url":"https://api.github.com/users/hoodiehq/repos","events_url":"https://api.github.com/users/hoodiehq/events{/privacy}","received_events_url":"https://api.github.com/users/hoodiehq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hoodiehq/hoodie-server-account","description":"Account REST API backed by CouchDB","fork":false,"url":"https://api.github.com/repos/hoodiehq/hoodie-server-account","forks_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/forks","keys_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/teams","hooks_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/hooks","issue_events_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/issues/events{/number}","events_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/events","assignees_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/assignees{/user}","branches_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/branches{/branch}","tags_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/tags","blobs_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/statuses/{sha}","languages_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/languages","stargazers_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/stargazers","contributors_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/contributors","subscribers_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/subscribers","subscription_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/subscription","commits_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/contents/{+path}","compare_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/merges","archive_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/downloads","issues_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/issues{/number}","pulls_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls{/number}","milestones_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/milestones{/number}","notifications_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/labels{/name}","releases_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/releases{/id}","deployments_url":"https://api.github.com/repos/hoodiehq/hoodie-server-account/deployments","created_at":"2015-10-28T02:37:41Z","updated_at":"2016-01-18T13:11:33Z","pushed_at":"2016-01-23T23:03:18Z","git_url":"git://github.com/hoodiehq/hoodie-server-account.git","ssh_url":"git@github.com:hoodiehq/hoodie-server-account.git","clone_url":"https://github.com/hoodiehq/hoodie-server-account.git","svn_url":"https://github.com/hoodiehq/hoodie-server-account","homepage":null,"size":210,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":15,"forks":7,"open_issues":15,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/64"},"html":{"href":"https://github.com/hoodiehq/hoodie-server-account/pull/64"},"issue":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/issues/64"},"comments":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/hoodiehq/hoodie-server-account/statuses/7558faa84e2d6be19747eac29e1e34d61e028ee6"}}}}