{"action":"created","comment":{"url":"https://api.github.com/repos/moul/node-scaleway/pulls/comments/38842082","id":38842082,"diff_hunk":"@@ -71,9 +71,9 @@ suite(\"[client]\", function() {\n       }).catch(function(err) {\n         inspect('err', err);\n         try {\n-          (err.statusCode).should.equal(401);\n-          (err.response.headers['content-type']).should.equal('application/json');\n-          (err.error.type).should.equal('invalid_auth');\n+          (err.res.statusCode).should.equal(401);\n+          (err.res.headers['content-type']).should.equal('application/json');","path":"test/all.js","position":8,"original_position":8,"commit_id":"28aca715f82ade858c393a34a1deec5a5748df4f","original_commit_id":"28aca715f82ade858c393a34a1deec5a5748df4f","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2015-09-07T08:25:26Z","updated_at":"2015-09-07T08:25:26Z","html_url":"https://github.com/moul/node-scaleway/pull/5#discussion_r38842082","pull_request_url":"https://api.github.com/repos/moul/node-scaleway/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/moul/node-scaleway/pulls/comments/38842082"},"html":{"href":"https://github.com/moul/node-scaleway/pull/5#discussion_r38842082"},"pull_request":{"href":"https://api.github.com/repos/moul/node-scaleway/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/moul/node-scaleway/pulls/5","id":44330766,"html_url":"https://github.com/moul/node-scaleway/pull/5","diff_url":"https://github.com/moul/node-scaleway/pull/5.diff","patch_url":"https://github.com/moul/node-scaleway/pull/5.patch","issue_url":"https://api.github.com/repos/moul/node-scaleway/issues/5","number":5,"state":"open","locked":false,"title":"Switched from request-promise to superagent-bluebird-promise","user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-07T08:25:22Z","updated_at":"2015-09-07T08:25:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a69036d10a15989f4d1adeb1a876a2805a55ec1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moul/node-scaleway/pulls/5/commits","review_comments_url":"https://api.github.com/repos/moul/node-scaleway/pulls/5/comments","review_comment_url":"https://api.github.com/repos/moul/node-scaleway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moul/node-scaleway/issues/5/comments","statuses_url":"https://api.github.com/repos/moul/node-scaleway/statuses/28aca715f82ade858c393a34a1deec5a5748df4f","head":{"label":"moul:superagent","ref":"superagent","sha":"28aca715f82ade858c393a34a1deec5a5748df4f","user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"repo":{"id":29857599,"name":"node-scaleway","full_name":"moul/node-scaleway","owner":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moul/node-scaleway","description":":wrench: Online Labs API client in Node.js and browser javascript","fork":false,"url":"https://api.github.com/repos/moul/node-scaleway","forks_url":"https://api.github.com/repos/moul/node-scaleway/forks","keys_url":"https://api.github.com/repos/moul/node-scaleway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moul/node-scaleway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moul/node-scaleway/teams","hooks_url":"https://api.github.com/repos/moul/node-scaleway/hooks","issue_events_url":"https://api.github.com/repos/moul/node-scaleway/issues/events{/number}","events_url":"https://api.github.com/repos/moul/node-scaleway/events","assignees_url":"https://api.github.com/repos/moul/node-scaleway/assignees{/user}","branches_url":"https://api.github.com/repos/moul/node-scaleway/branches{/branch}","tags_url":"https://api.github.com/repos/moul/node-scaleway/tags","blobs_url":"https://api.github.com/repos/moul/node-scaleway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moul/node-scaleway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moul/node-scaleway/git/refs{/sha}","trees_url":"https://api.github.com/repos/moul/node-scaleway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moul/node-scaleway/statuses/{sha}","languages_url":"https://api.github.com/repos/moul/node-scaleway/languages","stargazers_url":"https://api.github.com/repos/moul/node-scaleway/stargazers","contributors_url":"https://api.github.com/repos/moul/node-scaleway/contributors","subscribers_url":"https://api.github.com/repos/moul/node-scaleway/subscribers","subscription_url":"https://api.github.com/repos/moul/node-scaleway/subscription","commits_url":"https://api.github.com/repos/moul/node-scaleway/commits{/sha}","git_commits_url":"https://api.github.com/repos/moul/node-scaleway/git/commits{/sha}","comments_url":"https://api.github.com/repos/moul/node-scaleway/comments{/number}","issue_comment_url":"https://api.github.com/repos/moul/node-scaleway/issues/comments{/number}","contents_url":"https://api.github.com/repos/moul/node-scaleway/contents/{+path}","compare_url":"https://api.github.com/repos/moul/node-scaleway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moul/node-scaleway/merges","archive_url":"https://api.github.com/repos/moul/node-scaleway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moul/node-scaleway/downloads","issues_url":"https://api.github.com/repos/moul/node-scaleway/issues{/number}","pulls_url":"https://api.github.com/repos/moul/node-scaleway/pulls{/number}","milestones_url":"https://api.github.com/repos/moul/node-scaleway/milestones{/number}","notifications_url":"https://api.github.com/repos/moul/node-scaleway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moul/node-scaleway/labels{/name}","releases_url":"https://api.github.com/repos/moul/node-scaleway/releases{/id}","created_at":"2015-01-26T11:12:41Z","updated_at":"2015-07-18T19:37:33Z","pushed_at":"2015-09-07T08:25:24Z","git_url":"git://github.com/moul/node-scaleway.git","ssh_url":"git@github.com:moul/node-scaleway.git","clone_url":"https://github.com/moul/node-scaleway.git","svn_url":"https://github.com/moul/node-scaleway","homepage":"https://www.npmjs.com/package/onlinelabs","size":345,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"moul:master","ref":"master","sha":"44bcae73e2df3d7cab594f952ae733c3bedf41d0","user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"repo":{"id":29857599,"name":"node-scaleway","full_name":"moul/node-scaleway","owner":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moul/node-scaleway","description":":wrench: Online Labs API client in Node.js and browser javascript","fork":false,"url":"https://api.github.com/repos/moul/node-scaleway","forks_url":"https://api.github.com/repos/moul/node-scaleway/forks","keys_url":"https://api.github.com/repos/moul/node-scaleway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moul/node-scaleway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moul/node-scaleway/teams","hooks_url":"https://api.github.com/repos/moul/node-scaleway/hooks","issue_events_url":"https://api.github.com/repos/moul/node-scaleway/issues/events{/number}","events_url":"https://api.github.com/repos/moul/node-scaleway/events","assignees_url":"https://api.github.com/repos/moul/node-scaleway/assignees{/user}","branches_url":"https://api.github.com/repos/moul/node-scaleway/branches{/branch}","tags_url":"https://api.github.com/repos/moul/node-scaleway/tags","blobs_url":"https://api.github.com/repos/moul/node-scaleway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moul/node-scaleway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moul/node-scaleway/git/refs{/sha}","trees_url":"https://api.github.com/repos/moul/node-scaleway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moul/node-scaleway/statuses/{sha}","languages_url":"https://api.github.com/repos/moul/node-scaleway/languages","stargazers_url":"https://api.github.com/repos/moul/node-scaleway/stargazers","contributors_url":"https://api.github.com/repos/moul/node-scaleway/contributors","subscribers_url":"https://api.github.com/repos/moul/node-scaleway/subscribers","subscription_url":"https://api.github.com/repos/moul/node-scaleway/subscription","commits_url":"https://api.github.com/repos/moul/node-scaleway/commits{/sha}","git_commits_url":"https://api.github.com/repos/moul/node-scaleway/git/commits{/sha}","comments_url":"https://api.github.com/repos/moul/node-scaleway/comments{/number}","issue_comment_url":"https://api.github.com/repos/moul/node-scaleway/issues/comments{/number}","contents_url":"https://api.github.com/repos/moul/node-scaleway/contents/{+path}","compare_url":"https://api.github.com/repos/moul/node-scaleway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moul/node-scaleway/merges","archive_url":"https://api.github.com/repos/moul/node-scaleway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moul/node-scaleway/downloads","issues_url":"https://api.github.com/repos/moul/node-scaleway/issues{/number}","pulls_url":"https://api.github.com/repos/moul/node-scaleway/pulls{/number}","milestones_url":"https://api.github.com/repos/moul/node-scaleway/milestones{/number}","notifications_url":"https://api.github.com/repos/moul/node-scaleway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moul/node-scaleway/labels{/name}","releases_url":"https://api.github.com/repos/moul/node-scaleway/releases{/id}","created_at":"2015-01-26T11:12:41Z","updated_at":"2015-07-18T19:37:33Z","pushed_at":"2015-09-07T08:25:24Z","git_url":"git://github.com/moul/node-scaleway.git","ssh_url":"git@github.com:moul/node-scaleway.git","clone_url":"https://github.com/moul/node-scaleway.git","svn_url":"https://github.com/moul/node-scaleway","homepage":"https://www.npmjs.com/package/onlinelabs","size":345,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moul/node-scaleway/pulls/5"},"html":{"href":"https://github.com/moul/node-scaleway/pull/5"},"issue":{"href":"https://api.github.com/repos/moul/node-scaleway/issues/5"},"comments":{"href":"https://api.github.com/repos/moul/node-scaleway/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/moul/node-scaleway/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/moul/node-scaleway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moul/node-scaleway/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/moul/node-scaleway/statuses/28aca715f82ade858c393a34a1deec5a5748df4f"}}}}