{"action":"created","comment":{"url":"https://api.github.com/repos/andela/kipit/pulls/comments/42741529","id":42741529,"diff_hunk":"@@ -0,0 +1,15 @@\n+var request = require(\"supertest\"),\n+    app = require(\"./server\");\n+describe(\"Server\", function() {\n+    describe(\"should return appropraite server response.\", function() {\n+        it(\"Should response to /\", function(done) {\n+            request(app)\n+            .get(\"/\")\n+            .expect(\"Content-Type\", /json/)\n+            .expect(200)\n+            .end(function(err, res) {\n+                if (err) throw err;","path":"spec/functional/core/core.server.spec.js","position":11,"original_position":11,"commit_id":"c9d605811f674c940e9be7530d653dc9ac669fa0","original_commit_id":"c9d605811f674c940e9be7530d653dc9ac669fa0","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":"Expected '{' and instead saw 'throw'.","created_at":"2015-10-22T12:29:03Z","updated_at":"2015-10-22T12:29:03Z","html_url":"https://github.com/andela/kipit/pull/42#discussion_r42741529","pull_request_url":"https://api.github.com/repos/andela/kipit/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/andela/kipit/pulls/comments/42741529"},"html":{"href":"https://github.com/andela/kipit/pull/42#discussion_r42741529"},"pull_request":{"href":"https://api.github.com/repos/andela/kipit/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/andela/kipit/pulls/42","id":48451001,"html_url":"https://github.com/andela/kipit/pull/42","diff_url":"https://github.com/andela/kipit/pull/42.diff","patch_url":"https://github.com/andela/kipit/pull/42.patch","issue_url":"https://api.github.com/repos/andela/kipit/issues/42","number":42,"state":"open","locked":false,"title":"Issue 36 test setup server db","user":{"login":"andela-blawrence","id":15085695,"avatar_url":"https://avatars.githubusercontent.com/u/15085695?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-blawrence","html_url":"https://github.com/andela-blawrence","followers_url":"https://api.github.com/users/andela-blawrence/followers","following_url":"https://api.github.com/users/andela-blawrence/following{/other_user}","gists_url":"https://api.github.com/users/andela-blawrence/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-blawrence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-blawrence/subscriptions","organizations_url":"https://api.github.com/users/andela-blawrence/orgs","repos_url":"https://api.github.com/users/andela-blawrence/repos","events_url":"https://api.github.com/users/andela-blawrence/events{/privacy}","received_events_url":"https://api.github.com/users/andela-blawrence/received_events","type":"User","site_admin":false},"body":"issue #36.","created_at":"2015-10-22T12:28:57Z","updated_at":"2015-10-22T12:29:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a54653f5cb4723c4d101aec799ae3563e3339cdd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/kipit/pulls/42/commits","review_comments_url":"https://api.github.com/repos/andela/kipit/pulls/42/comments","review_comment_url":"https://api.github.com/repos/andela/kipit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/kipit/issues/42/comments","statuses_url":"https://api.github.com/repos/andela/kipit/statuses/c9d605811f674c940e9be7530d653dc9ac669fa0","head":{"label":"andela:issue-36-test-setup-server-db","ref":"issue-36-test-setup-server-db","sha":"c9d605811f674c940e9be7530d653dc9ac669fa0","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":44014107,"name":"kipit","full_name":"andela/kipit","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/kipit","description":"Personal finance management.","fork":false,"url":"https://api.github.com/repos/andela/kipit","forks_url":"https://api.github.com/repos/andela/kipit/forks","keys_url":"https://api.github.com/repos/andela/kipit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/kipit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/kipit/teams","hooks_url":"https://api.github.com/repos/andela/kipit/hooks","issue_events_url":"https://api.github.com/repos/andela/kipit/issues/events{/number}","events_url":"https://api.github.com/repos/andela/kipit/events","assignees_url":"https://api.github.com/repos/andela/kipit/assignees{/user}","branches_url":"https://api.github.com/repos/andela/kipit/branches{/branch}","tags_url":"https://api.github.com/repos/andela/kipit/tags","blobs_url":"https://api.github.com/repos/andela/kipit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/kipit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/kipit/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/kipit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/kipit/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/kipit/languages","stargazers_url":"https://api.github.com/repos/andela/kipit/stargazers","contributors_url":"https://api.github.com/repos/andela/kipit/contributors","subscribers_url":"https://api.github.com/repos/andela/kipit/subscribers","subscription_url":"https://api.github.com/repos/andela/kipit/subscription","commits_url":"https://api.github.com/repos/andela/kipit/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/kipit/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/kipit/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/kipit/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/kipit/contents/{+path}","compare_url":"https://api.github.com/repos/andela/kipit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/kipit/merges","archive_url":"https://api.github.com/repos/andela/kipit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/kipit/downloads","issues_url":"https://api.github.com/repos/andela/kipit/issues{/number}","pulls_url":"https://api.github.com/repos/andela/kipit/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/kipit/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/kipit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/kipit/labels{/name}","releases_url":"https://api.github.com/repos/andela/kipit/releases{/id}","created_at":"2015-10-10T14:36:12Z","updated_at":"2015-10-20T08:29:10Z","pushed_at":"2015-10-22T12:28:57Z","git_url":"git://github.com/andela/kipit.git","ssh_url":"git@github.com:andela/kipit.git","clone_url":"https://github.com/andela/kipit.git","svn_url":"https://github.com/andela/kipit","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:staging","ref":"staging","sha":"fd442feb307b9ef6c2d6681bbce01e60c9d8aaac","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":44014107,"name":"kipit","full_name":"andela/kipit","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/kipit","description":"Personal finance management.","fork":false,"url":"https://api.github.com/repos/andela/kipit","forks_url":"https://api.github.com/repos/andela/kipit/forks","keys_url":"https://api.github.com/repos/andela/kipit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/kipit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/kipit/teams","hooks_url":"https://api.github.com/repos/andela/kipit/hooks","issue_events_url":"https://api.github.com/repos/andela/kipit/issues/events{/number}","events_url":"https://api.github.com/repos/andela/kipit/events","assignees_url":"https://api.github.com/repos/andela/kipit/assignees{/user}","branches_url":"https://api.github.com/repos/andela/kipit/branches{/branch}","tags_url":"https://api.github.com/repos/andela/kipit/tags","blobs_url":"https://api.github.com/repos/andela/kipit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/kipit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/kipit/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/kipit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/kipit/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/kipit/languages","stargazers_url":"https://api.github.com/repos/andela/kipit/stargazers","contributors_url":"https://api.github.com/repos/andela/kipit/contributors","subscribers_url":"https://api.github.com/repos/andela/kipit/subscribers","subscription_url":"https://api.github.com/repos/andela/kipit/subscription","commits_url":"https://api.github.com/repos/andela/kipit/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/kipit/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/kipit/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/kipit/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/kipit/contents/{+path}","compare_url":"https://api.github.com/repos/andela/kipit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/kipit/merges","archive_url":"https://api.github.com/repos/andela/kipit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/kipit/downloads","issues_url":"https://api.github.com/repos/andela/kipit/issues{/number}","pulls_url":"https://api.github.com/repos/andela/kipit/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/kipit/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/kipit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/kipit/labels{/name}","releases_url":"https://api.github.com/repos/andela/kipit/releases{/id}","created_at":"2015-10-10T14:36:12Z","updated_at":"2015-10-20T08:29:10Z","pushed_at":"2015-10-22T12:28:57Z","git_url":"git://github.com/andela/kipit.git","ssh_url":"git@github.com:andela/kipit.git","clone_url":"https://github.com/andela/kipit.git","svn_url":"https://github.com/andela/kipit","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/kipit/pulls/42"},"html":{"href":"https://github.com/andela/kipit/pull/42"},"issue":{"href":"https://api.github.com/repos/andela/kipit/issues/42"},"comments":{"href":"https://api.github.com/repos/andela/kipit/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/kipit/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/kipit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/kipit/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/andela/kipit/statuses/c9d605811f674c940e9be7530d653dc9ac669fa0"}}}}