{"action":"created","comment":{"url":"https://api.github.com/repos/GuildCrafts/noob/pulls/comments/98320576","pull_request_review_id":18963966,"id":98320576,"diff_hunk":"@@ -26,21 +26,28 @@ describe('admin', () => {\n     }\n   ]\n \n+  beforeEach( () => {\n+    return Promise.all([\n+      noob.deleteAll(),\n+      user.deleteAll(),\n+      noob.create(newUser[1]),\n+      noob.create(newUser[2]),\n+      user.create(newUser[0])\n+    ])\n+  })\n+\n   it('exists', () => {\n     expect(admin).to.be.a('object')\n   })\n \n-\n   describe('assignTo', () => {\n     it('assigns a noob to a mentor', () => {\n-      return Promise.all([noob.create(newUser[1]),\n-      noob.create(newUser[2]),\n-      user.create(newUser[0])])\n-      .then(_=> {\n-        return admin.assignTo('Yum_yum_Gouda1', 'I_love_money')\n-        .then(updatedUser => {\n+      return admin.assignTo('Yum_yum_Gouda1', 'I_love_money')\n+      .then(updatedUser => {\n+        console.log('updatedUser:', updatedUser)","path":"tests/queries_tests/admin_test.js","position":29,"original_position":29,"commit_id":"312496583a98ee1d9d9d8a97c597017b73951d88","original_commit_id":"312496583a98ee1d9d9d8a97c597017b73951d88","user":{"login":"punitrathore","id":96797,"avatar_url":"https://avatars.githubusercontent.com/u/96797?v=3","gravatar_id":"","url":"https://api.github.com/users/punitrathore","html_url":"https://github.com/punitrathore","followers_url":"https://api.github.com/users/punitrathore/followers","following_url":"https://api.github.com/users/punitrathore/following{/other_user}","gists_url":"https://api.github.com/users/punitrathore/gists{/gist_id}","starred_url":"https://api.github.com/users/punitrathore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punitrathore/subscriptions","organizations_url":"https://api.github.com/users/punitrathore/orgs","repos_url":"https://api.github.com/users/punitrathore/repos","events_url":"https://api.github.com/users/punitrathore/events{/privacy}","received_events_url":"https://api.github.com/users/punitrathore/received_events","type":"User","site_admin":false},"body":"can you remove this `console.log`?","created_at":"2017-01-28T02:01:29Z","updated_at":"2017-01-28T02:01:29Z","html_url":"https://github.com/GuildCrafts/noob/pull/42#discussion_r98320576","pull_request_url":"https://api.github.com/repos/GuildCrafts/noob/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/GuildCrafts/noob/pulls/comments/98320576"},"html":{"href":"https://github.com/GuildCrafts/noob/pull/42#discussion_r98320576"},"pull_request":{"href":"https://api.github.com/repos/GuildCrafts/noob/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/GuildCrafts/noob/pulls/42","id":103590930,"html_url":"https://github.com/GuildCrafts/noob/pull/42","diff_url":"https://github.com/GuildCrafts/noob/pull/42.diff","patch_url":"https://github.com/GuildCrafts/noob/pull/42.patch","issue_url":"https://api.github.com/repos/GuildCrafts/noob/issues/42","number":42,"state":"open","locked":false,"title":"Test file debug","user":{"login":"FrankieFabuloso","id":12012163,"avatar_url":"https://avatars.githubusercontent.com/u/12012163?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankieFabuloso","html_url":"https://github.com/FrankieFabuloso","followers_url":"https://api.github.com/users/FrankieFabuloso/followers","following_url":"https://api.github.com/users/FrankieFabuloso/following{/other_user}","gists_url":"https://api.github.com/users/FrankieFabuloso/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankieFabuloso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankieFabuloso/subscriptions","organizations_url":"https://api.github.com/users/FrankieFabuloso/orgs","repos_url":"https://api.github.com/users/FrankieFabuloso/repos","events_url":"https://api.github.com/users/FrankieFabuloso/events{/privacy}","received_events_url":"https://api.github.com/users/FrankieFabuloso/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-28T00:27:38Z","updated_at":"2017-01-28T02:01:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66900368044c20fa56bcb178c0219abecfdcfb0b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GuildCrafts/noob/pulls/42/commits","review_comments_url":"https://api.github.com/repos/GuildCrafts/noob/pulls/42/comments","review_comment_url":"https://api.github.com/repos/GuildCrafts/noob/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GuildCrafts/noob/issues/42/comments","statuses_url":"https://api.github.com/repos/GuildCrafts/noob/statuses/312496583a98ee1d9d9d8a97c597017b73951d88","head":{"label":"GuildCrafts:test-file-debug","ref":"test-file-debug","sha":"312496583a98ee1d9d9d8a97c597017b73951d88","user":{"login":"GuildCrafts","id":18580315,"avatar_url":"https://avatars.githubusercontent.com/u/18580315?v=3","gravatar_id":"","url":"https://api.github.com/users/GuildCrafts","html_url":"https://github.com/GuildCrafts","followers_url":"https://api.github.com/users/GuildCrafts/followers","following_url":"https://api.github.com/users/GuildCrafts/following{/other_user}","gists_url":"https://api.github.com/users/GuildCrafts/gists{/gist_id}","starred_url":"https://api.github.com/users/GuildCrafts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuildCrafts/subscriptions","organizations_url":"https://api.github.com/users/GuildCrafts/orgs","repos_url":"https://api.github.com/users/GuildCrafts/repos","events_url":"https://api.github.com/users/GuildCrafts/events{/privacy}","received_events_url":"https://api.github.com/users/GuildCrafts/received_events","type":"Organization","site_admin":false},"repo":{"id":79810304,"name":"noob","full_name":"GuildCrafts/noob","owner":{"login":"GuildCrafts","id":18580315,"avatar_url":"https://avatars.githubusercontent.com/u/18580315?v=3","gravatar_id":"","url":"https://api.github.com/users/GuildCrafts","html_url":"https://github.com/GuildCrafts","followers_url":"https://api.github.com/users/GuildCrafts/followers","following_url":"https://api.github.com/users/GuildCrafts/following{/other_user}","gists_url":"https://api.github.com/users/GuildCrafts/gists{/gist_id}","starred_url":"https://api.github.com/users/GuildCrafts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuildCrafts/subscriptions","organizations_url":"https://api.github.com/users/GuildCrafts/orgs","repos_url":"https://api.github.com/users/GuildCrafts/repos","events_url":"https://api.github.com/users/GuildCrafts/events{/privacy}","received_events_url":"https://api.github.com/users/GuildCrafts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GuildCrafts/noob","description":"Onboarding for new guilder","fork":false,"url":"https://api.github.com/repos/GuildCrafts/noob","forks_url":"https://api.github.com/repos/GuildCrafts/noob/forks","keys_url":"https://api.github.com/repos/GuildCrafts/noob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GuildCrafts/noob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GuildCrafts/noob/teams","hooks_url":"https://api.github.com/repos/GuildCrafts/noob/hooks","issue_events_url":"https://api.github.com/repos/GuildCrafts/noob/issues/events{/number}","events_url":"https://api.github.com/repos/GuildCrafts/noob/events","assignees_url":"https://api.github.com/repos/GuildCrafts/noob/assignees{/user}","branches_url":"https://api.github.com/repos/GuildCrafts/noob/branches{/branch}","tags_url":"https://api.github.com/repos/GuildCrafts/noob/tags","blobs_url":"https://api.github.com/repos/GuildCrafts/noob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GuildCrafts/noob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GuildCrafts/noob/git/refs{/sha}","trees_url":"https://api.github.com/repos/GuildCrafts/noob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GuildCrafts/noob/statuses/{sha}","languages_url":"https://api.github.com/repos/GuildCrafts/noob/languages","stargazers_url":"https://api.github.com/repos/GuildCrafts/noob/stargazers","contributors_url":"https://api.github.com/repos/GuildCrafts/noob/contributors","subscribers_url":"https://api.github.com/repos/GuildCrafts/noob/subscribers","subscription_url":"https://api.github.com/repos/GuildCrafts/noob/subscription","commits_url":"https://api.github.com/repos/GuildCrafts/noob/commits{/sha}","git_commits_url":"https://api.github.com/repos/GuildCrafts/noob/git/commits{/sha}","comments_url":"https://api.github.com/repos/GuildCrafts/noob/comments{/number}","issue_comment_url":"https://api.github.com/repos/GuildCrafts/noob/issues/comments{/number}","contents_url":"https://api.github.com/repos/GuildCrafts/noob/contents/{+path}","compare_url":"https://api.github.com/repos/GuildCrafts/noob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GuildCrafts/noob/merges","archive_url":"https://api.github.com/repos/GuildCrafts/noob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GuildCrafts/noob/downloads","issues_url":"https://api.github.com/repos/GuildCrafts/noob/issues{/number}","pulls_url":"https://api.github.com/repos/GuildCrafts/noob/pulls{/number}","milestones_url":"https://api.github.com/repos/GuildCrafts/noob/milestones{/number}","notifications_url":"https://api.github.com/repos/GuildCrafts/noob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GuildCrafts/noob/labels{/name}","releases_url":"https://api.github.com/repos/GuildCrafts/noob/releases{/id}","deployments_url":"https://api.github.com/repos/GuildCrafts/noob/deployments","created_at":"2017-01-23T14:12:41Z","updated_at":"2017-01-27T20:21:10Z","pushed_at":"2017-01-28T01:58:21Z","git_url":"git://github.com/GuildCrafts/noob.git","ssh_url":"git@github.com:GuildCrafts/noob.git","clone_url":"https://github.com/GuildCrafts/noob.git","svn_url":"https://github.com/GuildCrafts/noob","homepage":null,"size":278,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":1,"default_branch":"master"}},"base":{"label":"GuildCrafts:master","ref":"master","sha":"46790f2137e8f5f962df2b57f78d849ff1a80af4","user":{"login":"GuildCrafts","id":18580315,"avatar_url":"https://avatars.githubusercontent.com/u/18580315?v=3","gravatar_id":"","url":"https://api.github.com/users/GuildCrafts","html_url":"https://github.com/GuildCrafts","followers_url":"https://api.github.com/users/GuildCrafts/followers","following_url":"https://api.github.com/users/GuildCrafts/following{/other_user}","gists_url":"https://api.github.com/users/GuildCrafts/gists{/gist_id}","starred_url":"https://api.github.com/users/GuildCrafts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuildCrafts/subscriptions","organizations_url":"https://api.github.com/users/GuildCrafts/orgs","repos_url":"https://api.github.com/users/GuildCrafts/repos","events_url":"https://api.github.com/users/GuildCrafts/events{/privacy}","received_events_url":"https://api.github.com/users/GuildCrafts/received_events","type":"Organization","site_admin":false},"repo":{"id":79810304,"name":"noob","full_name":"GuildCrafts/noob","owner":{"login":"GuildCrafts","id":18580315,"avatar_url":"https://avatars.githubusercontent.com/u/18580315?v=3","gravatar_id":"","url":"https://api.github.com/users/GuildCrafts","html_url":"https://github.com/GuildCrafts","followers_url":"https://api.github.com/users/GuildCrafts/followers","following_url":"https://api.github.com/users/GuildCrafts/following{/other_user}","gists_url":"https://api.github.com/users/GuildCrafts/gists{/gist_id}","starred_url":"https://api.github.com/users/GuildCrafts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuildCrafts/subscriptions","organizations_url":"https://api.github.com/users/GuildCrafts/orgs","repos_url":"https://api.github.com/users/GuildCrafts/repos","events_url":"https://api.github.com/users/GuildCrafts/events{/privacy}","received_events_url":"https://api.github.com/users/GuildCrafts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GuildCrafts/noob","description":"Onboarding for new guilder","fork":false,"url":"https://api.github.com/repos/GuildCrafts/noob","forks_url":"https://api.github.com/repos/GuildCrafts/noob/forks","keys_url":"https://api.github.com/repos/GuildCrafts/noob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GuildCrafts/noob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GuildCrafts/noob/teams","hooks_url":"https://api.github.com/repos/GuildCrafts/noob/hooks","issue_events_url":"https://api.github.com/repos/GuildCrafts/noob/issues/events{/number}","events_url":"https://api.github.com/repos/GuildCrafts/noob/events","assignees_url":"https://api.github.com/repos/GuildCrafts/noob/assignees{/user}","branches_url":"https://api.github.com/repos/GuildCrafts/noob/branches{/branch}","tags_url":"https://api.github.com/repos/GuildCrafts/noob/tags","blobs_url":"https://api.github.com/repos/GuildCrafts/noob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GuildCrafts/noob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GuildCrafts/noob/git/refs{/sha}","trees_url":"https://api.github.com/repos/GuildCrafts/noob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GuildCrafts/noob/statuses/{sha}","languages_url":"https://api.github.com/repos/GuildCrafts/noob/languages","stargazers_url":"https://api.github.com/repos/GuildCrafts/noob/stargazers","contributors_url":"https://api.github.com/repos/GuildCrafts/noob/contributors","subscribers_url":"https://api.github.com/repos/GuildCrafts/noob/subscribers","subscription_url":"https://api.github.com/repos/GuildCrafts/noob/subscription","commits_url":"https://api.github.com/repos/GuildCrafts/noob/commits{/sha}","git_commits_url":"https://api.github.com/repos/GuildCrafts/noob/git/commits{/sha}","comments_url":"https://api.github.com/repos/GuildCrafts/noob/comments{/number}","issue_comment_url":"https://api.github.com/repos/GuildCrafts/noob/issues/comments{/number}","contents_url":"https://api.github.com/repos/GuildCrafts/noob/contents/{+path}","compare_url":"https://api.github.com/repos/GuildCrafts/noob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GuildCrafts/noob/merges","archive_url":"https://api.github.com/repos/GuildCrafts/noob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GuildCrafts/noob/downloads","issues_url":"https://api.github.com/repos/GuildCrafts/noob/issues{/number}","pulls_url":"https://api.github.com/repos/GuildCrafts/noob/pulls{/number}","milestones_url":"https://api.github.com/repos/GuildCrafts/noob/milestones{/number}","notifications_url":"https://api.github.com/repos/GuildCrafts/noob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GuildCrafts/noob/labels{/name}","releases_url":"https://api.github.com/repos/GuildCrafts/noob/releases{/id}","deployments_url":"https://api.github.com/repos/GuildCrafts/noob/deployments","created_at":"2017-01-23T14:12:41Z","updated_at":"2017-01-27T20:21:10Z","pushed_at":"2017-01-28T01:58:21Z","git_url":"git://github.com/GuildCrafts/noob.git","ssh_url":"git@github.com:GuildCrafts/noob.git","clone_url":"https://github.com/GuildCrafts/noob.git","svn_url":"https://github.com/GuildCrafts/noob","homepage":null,"size":278,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GuildCrafts/noob/pulls/42"},"html":{"href":"https://github.com/GuildCrafts/noob/pull/42"},"issue":{"href":"https://api.github.com/repos/GuildCrafts/noob/issues/42"},"comments":{"href":"https://api.github.com/repos/GuildCrafts/noob/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/GuildCrafts/noob/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/GuildCrafts/noob/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GuildCrafts/noob/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/GuildCrafts/noob/statuses/312496583a98ee1d9d9d8a97c597017b73951d88"}}}}
{"actor":{"display_login":"punitrathore"}}