{"action":"created","comment":{"url":"https://api.github.com/repos/andela/trime/pulls/comments/64530337","id":64530337,"diff_hunk":"@@ -29,30 +29,32 @@\n             .end(function(err, res) {\n               var userToken = res.body.token;\n               request\n-                .get('/api/time-tracks/getProjects')\n+                .get('/api/time-tracks/get-project/1')\n                 .set('x-access-token', userToken)\n                 .set('Accept', 'application/json')\n                 .end(function(err, res) {\n                   expect(res.status).toBe(200);\n                   expect(err).toBeNull();\n-                  expect(Array.isArray(res.body)).toBe(true);\n-                  expect(res.body.length).not.toBe(0);\n+                  expect(res.body instanceof Object).toBe(true);\n+                  expect(res.body.id).toEqual(1);\n+                  expect(res.body.users[0].id).toEqual(1);\n+                  expect(res.body.size).not.toBe(0);","path":"tests/server/spec/time-tracks-spec.js","position":25,"original_position":25,"commit_id":"3dbe3b0df74b3131c37372116e23cf09ab31b30b","original_commit_id":"3dbe3b0df74b3131c37372116e23cf09ab31b30b","user":{"login":"andela-jmuturi","id":17286899,"avatar_url":"https://avatars.githubusercontent.com/u/17286899?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-jmuturi","html_url":"https://github.com/andela-jmuturi","followers_url":"https://api.github.com/users/andela-jmuturi/followers","following_url":"https://api.github.com/users/andela-jmuturi/following{/other_user}","gists_url":"https://api.github.com/users/andela-jmuturi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-jmuturi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-jmuturi/subscriptions","organizations_url":"https://api.github.com/users/andela-jmuturi/orgs","repos_url":"https://api.github.com/users/andela-jmuturi/repos","events_url":"https://api.github.com/users/andela-jmuturi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-jmuturi/received_events","type":"User","site_admin":false},"body":"`Object#size` returns `undefined`.","created_at":"2016-05-25T08:01:16Z","updated_at":"2016-05-25T08:01:16Z","html_url":"https://github.com/andela/trime/pull/109#discussion_r64530337","pull_request_url":"https://api.github.com/repos/andela/trime/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/andela/trime/pulls/comments/64530337"},"html":{"href":"https://github.com/andela/trime/pull/109#discussion_r64530337"},"pull_request":{"href":"https://api.github.com/repos/andela/trime/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/andela/trime/pulls/109","id":71048823,"html_url":"https://github.com/andela/trime/pull/109","diff_url":"https://github.com/andela/trime/pull/109.diff","patch_url":"https://github.com/andela/trime/pull/109.patch","issue_url":"https://api.github.com/repos/andela/trime/issues/109","number":109,"state":"open","locked":false,"title":"Add Project Page","user":{"login":"andela-jobala","id":12011447,"avatar_url":"https://avatars.githubusercontent.com/u/12011447?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-jobala","html_url":"https://github.com/andela-jobala","followers_url":"https://api.github.com/users/andela-jobala/followers","following_url":"https://api.github.com/users/andela-jobala/following{/other_user}","gists_url":"https://api.github.com/users/andela-jobala/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-jobala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-jobala/subscriptions","organizations_url":"https://api.github.com/users/andela-jobala/orgs","repos_url":"https://api.github.com/users/andela-jobala/repos","events_url":"https://api.github.com/users/andela-jobala/events{/privacy}","received_events_url":"https://api.github.com/users/andela-jobala/received_events","type":"User","site_admin":false},"body":"#### Description of Task to be completed\r\n* add start tracking\r\n* add resume tracking\r\n* add pause tracking\r\n* add complete tracking\r\n* users should be able to enter the description of the trime being tracked\r\n* add functionality to show project trimes\r\n* clear the description field after user clicks on the stop button\r\n* refactor the failing trime tests to accomodate the refactored controller\r\n* add separate event listeners for different error events in the tracking store\r\n\r\n#### How should this be manually tested\r\n**cd** into the project root and run npm test\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[add project page](https://www.pivotaltracker.com/story/show/116864835)","created_at":"2016-05-23T11:58:03Z","updated_at":"2016-05-25T08:01:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/trime/pulls/109/commits","review_comments_url":"https://api.github.com/repos/andela/trime/pulls/109/comments","review_comment_url":"https://api.github.com/repos/andela/trime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/trime/issues/109/comments","statuses_url":"https://api.github.com/repos/andela/trime/statuses/3dbe3b0df74b3131c37372116e23cf09ab31b30b","head":{"label":"andela:feature/project-page","ref":"feature/project-page","sha":"3dbe3b0df74b3131c37372116e23cf09ab31b30b","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":44667251,"name":"trime","full_name":"andela/trime","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/trime","description":"Staging - https://trime-staging.herokuapp.com/, Production - https://trime-prod.herokuapp.com/","fork":false,"url":"https://api.github.com/repos/andela/trime","forks_url":"https://api.github.com/repos/andela/trime/forks","keys_url":"https://api.github.com/repos/andela/trime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/trime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/trime/teams","hooks_url":"https://api.github.com/repos/andela/trime/hooks","issue_events_url":"https://api.github.com/repos/andela/trime/issues/events{/number}","events_url":"https://api.github.com/repos/andela/trime/events","assignees_url":"https://api.github.com/repos/andela/trime/assignees{/user}","branches_url":"https://api.github.com/repos/andela/trime/branches{/branch}","tags_url":"https://api.github.com/repos/andela/trime/tags","blobs_url":"https://api.github.com/repos/andela/trime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/trime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/trime/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/trime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/trime/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/trime/languages","stargazers_url":"https://api.github.com/repos/andela/trime/stargazers","contributors_url":"https://api.github.com/repos/andela/trime/contributors","subscribers_url":"https://api.github.com/repos/andela/trime/subscribers","subscription_url":"https://api.github.com/repos/andela/trime/subscription","commits_url":"https://api.github.com/repos/andela/trime/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/trime/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/trime/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/trime/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/trime/contents/{+path}","compare_url":"https://api.github.com/repos/andela/trime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/trime/merges","archive_url":"https://api.github.com/repos/andela/trime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/trime/downloads","issues_url":"https://api.github.com/repos/andela/trime/issues{/number}","pulls_url":"https://api.github.com/repos/andela/trime/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/trime/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/trime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/trime/labels{/name}","releases_url":"https://api.github.com/repos/andela/trime/releases{/id}","deployments_url":"https://api.github.com/repos/andela/trime/deployments","created_at":"2015-10-21T09:53:41Z","updated_at":"2016-01-26T14:16:27Z","pushed_at":"2016-05-24T10:14:16Z","git_url":"git://github.com/andela/trime.git","ssh_url":"git@github.com:andela/trime.git","clone_url":"https://github.com/andela/trime.git","svn_url":"https://github.com/andela/trime","homepage":"","size":8350,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:develop","ref":"develop","sha":"50d0aa7fbc42f30a9cb33aecd0317264284d5917","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":44667251,"name":"trime","full_name":"andela/trime","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/trime","description":"Staging - https://trime-staging.herokuapp.com/, Production - https://trime-prod.herokuapp.com/","fork":false,"url":"https://api.github.com/repos/andela/trime","forks_url":"https://api.github.com/repos/andela/trime/forks","keys_url":"https://api.github.com/repos/andela/trime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/trime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/trime/teams","hooks_url":"https://api.github.com/repos/andela/trime/hooks","issue_events_url":"https://api.github.com/repos/andela/trime/issues/events{/number}","events_url":"https://api.github.com/repos/andela/trime/events","assignees_url":"https://api.github.com/repos/andela/trime/assignees{/user}","branches_url":"https://api.github.com/repos/andela/trime/branches{/branch}","tags_url":"https://api.github.com/repos/andela/trime/tags","blobs_url":"https://api.github.com/repos/andela/trime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/trime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/trime/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/trime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/trime/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/trime/languages","stargazers_url":"https://api.github.com/repos/andela/trime/stargazers","contributors_url":"https://api.github.com/repos/andela/trime/contributors","subscribers_url":"https://api.github.com/repos/andela/trime/subscribers","subscription_url":"https://api.github.com/repos/andela/trime/subscription","commits_url":"https://api.github.com/repos/andela/trime/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/trime/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/trime/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/trime/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/trime/contents/{+path}","compare_url":"https://api.github.com/repos/andela/trime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/trime/merges","archive_url":"https://api.github.com/repos/andela/trime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/trime/downloads","issues_url":"https://api.github.com/repos/andela/trime/issues{/number}","pulls_url":"https://api.github.com/repos/andela/trime/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/trime/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/trime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/trime/labels{/name}","releases_url":"https://api.github.com/repos/andela/trime/releases{/id}","deployments_url":"https://api.github.com/repos/andela/trime/deployments","created_at":"2015-10-21T09:53:41Z","updated_at":"2016-01-26T14:16:27Z","pushed_at":"2016-05-24T10:14:16Z","git_url":"git://github.com/andela/trime.git","ssh_url":"git@github.com:andela/trime.git","clone_url":"https://github.com/andela/trime.git","svn_url":"https://github.com/andela/trime","homepage":"","size":8350,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/trime/pulls/109"},"html":{"href":"https://github.com/andela/trime/pull/109"},"issue":{"href":"https://api.github.com/repos/andela/trime/issues/109"},"comments":{"href":"https://api.github.com/repos/andela/trime/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/trime/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/trime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/trime/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/andela/trime/statuses/3dbe3b0df74b3131c37372116e23cf09ab31b30b"}}}}
{"actor":{"display_login":"andela-jmuturi"}}