{"action":"created","comment":{"url":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/comments/177618526","pull_request_review_id":107521463,"id":177618526,"diff_hunk":"@@ -42,4 +42,15 @@\n       expect(job).to respond_to(:comments)\n     end\n   end\n+\n+\n+  describe \"comment order\" do\n+    it \"has comments sorted newest to oldest\" do\n+      job = Job.new(title: \"Software\", level_of_interest: 70, description: \"Wahooo\")\n+      comment1 = job.comments.new(body: 'A comment', job_id: job[:id])","path":"spec/models/job_spec.rb","position":9,"original_position":9,"commit_id":"46d13923cf1b59aa64cbb220fe158dbaa8bd03e5","original_commit_id":"46d13923cf1b59aa64cbb220fe158dbaa8bd03e5","user":{"login":"houndci-bot","id":6697940,"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":"Useless assignment to variable - comment1.","created_at":"2018-03-28T01:33:52Z","updated_at":"2018-03-28T01:33:53Z","html_url":"https://github.com/jamesrnelson/job-tracker/pull/55#discussion_r177618526","pull_request_url":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/55","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/comments/177618526"},"html":{"href":"https://github.com/jamesrnelson/job-tracker/pull/55#discussion_r177618526"},"pull_request":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/55","id":177907860,"html_url":"https://github.com/jamesrnelson/job-tracker/pull/55","diff_url":"https://github.com/jamesrnelson/job-tracker/pull/55.diff","patch_url":"https://github.com/jamesrnelson/job-tracker/pull/55.patch","issue_url":"https://api.github.com/repos/jamesrnelson/job-tracker/issues/55","number":55,"state":"open","locked":false,"title":"Comment form/kelly","user":{"login":"anubiskhan","id":25183745,"avatar_url":"https://avatars0.githubusercontent.com/u/25183745?v=4","gravatar_id":"","url":"https://api.github.com/users/anubiskhan","html_url":"https://github.com/anubiskhan","followers_url":"https://api.github.com/users/anubiskhan/followers","following_url":"https://api.github.com/users/anubiskhan/following{/other_user}","gists_url":"https://api.github.com/users/anubiskhan/gists{/gist_id}","starred_url":"https://api.github.com/users/anubiskhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anubiskhan/subscriptions","organizations_url":"https://api.github.com/users/anubiskhan/orgs","repos_url":"https://api.github.com/users/anubiskhan/repos","events_url":"https://api.github.com/users/anubiskhan/events{/privacy}","received_events_url":"https://api.github.com/users/anubiskhan/received_events","type":"User","site_admin":false},"body":"Adds #comment_order to job model.\r\nAdds some tests.","created_at":"2018-03-28T01:33:41Z","updated_at":"2018-03-28T01:33:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5756f92a5e51883a7f691f0d86da400974f1b3a1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":880507461,"url":"https://api.github.com/repos/jamesrnelson/job-tracker/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/55/commits","review_comments_url":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/55/comments","review_comment_url":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jamesrnelson/job-tracker/issues/55/comments","statuses_url":"https://api.github.com/repos/jamesrnelson/job-tracker/statuses/46d13923cf1b59aa64cbb220fe158dbaa8bd03e5","head":{"label":"jamesrnelson:comment-form/kelly","ref":"comment-form/kelly","sha":"46d13923cf1b59aa64cbb220fe158dbaa8bd03e5","user":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"repo":{"id":126527842,"name":"job-tracker","full_name":"jamesrnelson/job-tracker","owner":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesrnelson/job-tracker","description":null,"fork":true,"url":"https://api.github.com/repos/jamesrnelson/job-tracker","forks_url":"https://api.github.com/repos/jamesrnelson/job-tracker/forks","keys_url":"https://api.github.com/repos/jamesrnelson/job-tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesrnelson/job-tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesrnelson/job-tracker/teams","hooks_url":"https://api.github.com/repos/jamesrnelson/job-tracker/hooks","issue_events_url":"https://api.github.com/repos/jamesrnelson/job-tracker/issues/events{/number}","events_url":"https://api.github.com/repos/jamesrnelson/job-tracker/events","assignees_url":"https://api.github.com/repos/jamesrnelson/job-tracker/assignees{/user}","branches_url":"https://api.github.com/repos/jamesrnelson/job-tracker/branches{/branch}","tags_url":"https://api.github.com/repos/jamesrnelson/job-tracker/tags","blobs_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesrnelson/job-tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesrnelson/job-tracker/languages","stargazers_url":"https://api.github.com/repos/jamesrnelson/job-tracker/stargazers","contributors_url":"https://api.github.com/repos/jamesrnelson/job-tracker/contributors","subscribers_url":"https://api.github.com/repos/jamesrnelson/job-tracker/subscribers","subscription_url":"https://api.github.com/repos/jamesrnelson/job-tracker/subscription","commits_url":"https://api.github.com/repos/jamesrnelson/job-tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesrnelson/job-tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesrnelson/job-tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesrnelson/job-tracker/contents/{+path}","compare_url":"https://api.github.com/repos/jamesrnelson/job-tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesrnelson/job-tracker/merges","archive_url":"https://api.github.com/repos/jamesrnelson/job-tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesrnelson/job-tracker/downloads","issues_url":"https://api.github.com/repos/jamesrnelson/job-tracker/issues{/number}","pulls_url":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesrnelson/job-tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesrnelson/job-tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesrnelson/job-tracker/labels{/name}","releases_url":"https://api.github.com/repos/jamesrnelson/job-tracker/releases{/id}","deployments_url":"https://api.github.com/repos/jamesrnelson/job-tracker/deployments","created_at":"2018-03-23T18:59:05Z","updated_at":"2018-03-28T00:44:37Z","pushed_at":"2018-03-28T01:33:42Z","git_url":"git://github.com/jamesrnelson/job-tracker.git","ssh_url":"git@github.com:jamesrnelson/job-tracker.git","clone_url":"https://github.com/jamesrnelson/job-tracker.git","svn_url":"https://github.com/jamesrnelson/job-tracker","homepage":null,"size":389,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":35,"license":null,"forks":0,"open_issues":35,"watchers":0,"default_branch":"master"}},"base":{"label":"jamesrnelson:master","ref":"master","sha":"d30c455776c7516c61f02fd0554f4cd7496be2a9","user":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"repo":{"id":126527842,"name":"job-tracker","full_name":"jamesrnelson/job-tracker","owner":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesrnelson/job-tracker","description":null,"fork":true,"url":"https://api.github.com/repos/jamesrnelson/job-tracker","forks_url":"https://api.github.com/repos/jamesrnelson/job-tracker/forks","keys_url":"https://api.github.com/repos/jamesrnelson/job-tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesrnelson/job-tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesrnelson/job-tracker/teams","hooks_url":"https://api.github.com/repos/jamesrnelson/job-tracker/hooks","issue_events_url":"https://api.github.com/repos/jamesrnelson/job-tracker/issues/events{/number}","events_url":"https://api.github.com/repos/jamesrnelson/job-tracker/events","assignees_url":"https://api.github.com/repos/jamesrnelson/job-tracker/assignees{/user}","branches_url":"https://api.github.com/repos/jamesrnelson/job-tracker/branches{/branch}","tags_url":"https://api.github.com/repos/jamesrnelson/job-tracker/tags","blobs_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesrnelson/job-tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesrnelson/job-tracker/languages","stargazers_url":"https://api.github.com/repos/jamesrnelson/job-tracker/stargazers","contributors_url":"https://api.github.com/repos/jamesrnelson/job-tracker/contributors","subscribers_url":"https://api.github.com/repos/jamesrnelson/job-tracker/subscribers","subscription_url":"https://api.github.com/repos/jamesrnelson/job-tracker/subscription","commits_url":"https://api.github.com/repos/jamesrnelson/job-tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesrnelson/job-tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesrnelson/job-tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesrnelson/job-tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesrnelson/job-tracker/contents/{+path}","compare_url":"https://api.github.com/repos/jamesrnelson/job-tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesrnelson/job-tracker/merges","archive_url":"https://api.github.com/repos/jamesrnelson/job-tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesrnelson/job-tracker/downloads","issues_url":"https://api.github.com/repos/jamesrnelson/job-tracker/issues{/number}","pulls_url":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesrnelson/job-tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesrnelson/job-tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesrnelson/job-tracker/labels{/name}","releases_url":"https://api.github.com/repos/jamesrnelson/job-tracker/releases{/id}","deployments_url":"https://api.github.com/repos/jamesrnelson/job-tracker/deployments","created_at":"2018-03-23T18:59:05Z","updated_at":"2018-03-28T00:44:37Z","pushed_at":"2018-03-28T01:33:42Z","git_url":"git://github.com/jamesrnelson/job-tracker.git","ssh_url":"git@github.com:jamesrnelson/job-tracker.git","clone_url":"https://github.com/jamesrnelson/job-tracker.git","svn_url":"https://github.com/jamesrnelson/job-tracker","homepage":null,"size":389,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":35,"license":null,"forks":0,"open_issues":35,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/55"},"html":{"href":"https://github.com/jamesrnelson/job-tracker/pull/55"},"issue":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/issues/55"},"comments":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/jamesrnelson/job-tracker/statuses/46d13923cf1b59aa64cbb220fe158dbaa8bd03e5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}