{"action":"created","comment":{"url":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/comments/221932520","pull_request_review_id":160697464,"id":221932520,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTkzMjUyMA==","diff_hunk":"@@ -54,3 +54,145 @@ describe('Article', () => (\n     });\n   })\n ));\n+describe('Article2', () => (\n+// Testing the landing page\n+  describe('homepage', () => {\n+    it('should get the landing page route', (done) => {\n+      chai\n+        .request(app)\n+        .get('/')\n+        .end((err, res) => {\n+          if (err) {\n+            console.log(err);\n+          } else {\n+            res.should.have.status(200);\n+            res.body.should.be.a('object');\n+            res.body.should.have.property('message');\n+            res.body.should.have\n+              .property('message')\n+              .eql('Welcome to Author\\'s Haven');\n+            done();\n+          }\n+        });\n+    });\n+\n+    // Testing get all articles route\n+    it('should retrieve all articles', (done) => {\n+      chai\n+        .request(app)\n+        .get('/article')\n+        .end((err, res) => {\n+          if (err) {\n+            console.log(err);\n+          } else {\n+            res.should.have.status(200);\n+            res.body.should.be.a('object');\n+            res.body.should.have.property('status');\n+            res.body.should.have.property('data');\n+            res.body.should.have\n+              .property('status')\n+              .eql('Success');\n+            res.body.should.have\n+              .property('data')\n+              .eql(res.body.data);\n+            done();\n+          }\n+        });\n+    });\n+  })\n+));\n+describe('Article3', () => (\n+// Testing the landing page\n+  describe('homepage', () => {\n+    it('should get the landing page route', (done) => {\n+      chai\n+        .request(app)\n+        .get('/')\n+        .end((err, res) => {\n+          if (err) {\n+            console.log(err);\n+          } else {\n+            res.should.have.status(200);\n+            res.body.should.be.a('object');\n+            res.body.should.have.property('message');\n+            res.body.should.have\n+              .property('message')\n+              .eql('Welcome to Author\\'s Haven');\n+            done();\n+          }\n+        });\n+    });\n+\n+    // Testing get all articles route\n+    it('should retrieve all articles', (done) => {\n+      chai\n+        .request(app)\n+        .get('/article')\n+        .end((err, res) => {\n+          if (err) {\n+            console.log(err);\n+          } else {\n+            res.should.have.status(200);\n+            res.body.should.be.a('object');\n+            res.body.should.have.property('status');\n+            res.body.should.have.property('data');\n+            res.body.should.have\n+              .property('status')\n+              .eql('Success');\n+            res.body.should.have\n+              .property('data')\n+              .eql(res.body.data);\n+            done();\n+          }\n+        });\n+    });\n+  })\n+));\n+\n+describe('User', () => (\n+  // Testing the landing page\n+    describe('homepage', () => {\n+      it('should get the landing page route', (done) => {\n+        chai\n+          .request(app)\n+          .get('/')\n+          .end((err, res) => {\n+            if (err) {\n+              console.log(err);\n+            } else {\n+              res.should.have.status(200);\n+              res.body.should.be.a('object');\n+              res.body.should.have.property('message');\n+              res.body.should.have\n+                .property('message')\n+                .eql('Welcome to Author\\'s Haven');\n+              done();\n+            }\n+          });\n+      });\n+  \n+      // Testing get all articles route\n+      it('should retrieve all articles', (done) => {\n+        chai\n+          .request(app)\n+          .get('/article')\n+          .end((err, res) => {\n+            if (err) {\n+              console.log(err);\n+            } else {\n+              res.should.have.status(200);\n+              res.body.should.be.a('object');\n+              res.body.should.have.property('status');\n+              res.body.should.have.property('data');\n+              res.body.should.have\n+                .property('status')\n+                .eql('Success');\n+              res.body.should.have\n+                .property('data')\n+                .eql(res.body.data);\n+              done();\n+            }","path":"tests/index.js","position":141,"original_position":141,"commit_id":"1a7f37d414c16236451e4f19d4fad3aa44f93c99","original_commit_id":"1a7f37d414c16236451e4f19d4fad3aa44f93c99","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Expected indentation of 10 spaces but found 12  indent","created_at":"2018-10-02T12:36:46Z","updated_at":"2018-10-02T12:36:48Z","html_url":"https://github.com/andela/goodfellas-ah-backend/pull/46#discussion_r221932520","pull_request_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/46","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/comments/221932520"},"html":{"href":"https://github.com/andela/goodfellas-ah-backend/pull/46#discussion_r221932520"},"pull_request":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/46","id":219681217,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NjgxMjE3","html_url":"https://github.com/andela/goodfellas-ah-backend/pull/46","diff_url":"https://github.com/andela/goodfellas-ah-backend/pull/46.diff","patch_url":"https://github.com/andela/goodfellas-ah-backend/pull/46.patch","issue_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues/46","number":46,"state":"open","locked":false,"title":"Another hound test","user":{"login":"damafeez","id":26779819,"node_id":"MDQ6VXNlcjI2Nzc5ODE5","avatar_url":"https://avatars0.githubusercontent.com/u/26779819?v=4","gravatar_id":"","url":"https://api.github.com/users/damafeez","html_url":"https://github.com/damafeez","followers_url":"https://api.github.com/users/damafeez/followers","following_url":"https://api.github.com/users/damafeez/following{/other_user}","gists_url":"https://api.github.com/users/damafeez/gists{/gist_id}","starred_url":"https://api.github.com/users/damafeez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damafeez/subscriptions","organizations_url":"https://api.github.com/users/damafeez/orgs","repos_url":"https://api.github.com/users/damafeez/repos","events_url":"https://api.github.com/users/damafeez/events{/privacy}","received_events_url":"https://api.github.com/users/damafeez/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-02T12:12:43Z","updated_at":"2018-10-02T12:36:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1ba7acaa989f65e7210fd850605968d6683fc93","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/46/commits","review_comments_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/46/comments","review_comment_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues/46/comments","statuses_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/statuses/1a7f37d414c16236451e4f19d4fad3aa44f93c99","head":{"label":"andela:another-hound-test","ref":"another-hound-test","sha":"1a7f37d414c16236451e4f19d4fad3aa44f93c99","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","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":148493009,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg0OTMwMDk=","name":"goodfellas-ah-backend","full_name":"andela/goodfellas-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","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},"html_url":"https://github.com/andela/goodfellas-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/goodfellas-ah-backend","forks_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/deployments","created_at":"2018-09-12T14:25:44Z","updated_at":"2018-10-02T11:08:03Z","pushed_at":"2018-10-02T12:36:34Z","git_url":"git://github.com/andela/goodfellas-ah-backend.git","ssh_url":"git@github.com:andela/goodfellas-ah-backend.git","clone_url":"https://github.com/andela/goodfellas-ah-backend.git","svn_url":"https://github.com/andela/goodfellas-ah-backend","homepage":null,"size":153,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"edee5102225b2d3d8856652ebf2b01d0b2eaecc2","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","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":148493009,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg0OTMwMDk=","name":"goodfellas-ah-backend","full_name":"andela/goodfellas-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","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},"html_url":"https://github.com/andela/goodfellas-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/goodfellas-ah-backend","forks_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/goodfellas-ah-backend/deployments","created_at":"2018-09-12T14:25:44Z","updated_at":"2018-10-02T11:08:03Z","pushed_at":"2018-10-02T12:36:34Z","git_url":"git://github.com/andela/goodfellas-ah-backend.git","ssh_url":"git@github.com:andela/goodfellas-ah-backend.git","clone_url":"https://github.com/andela/goodfellas-ah-backend.git","svn_url":"https://github.com/andela/goodfellas-ah-backend","homepage":null,"size":153,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/46"},"html":{"href":"https://github.com/andela/goodfellas-ah-backend/pull/46"},"issue":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues/46"},"comments":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/andela/goodfellas-ah-backend/statuses/1a7f37d414c16236451e4f19d4fad3aa44f93c99"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}