{"action":"created","comment":{"url":"https://api.github.com/repos/mikedao/job_basket/pulls/comments/29404141","id":29404141,"diff_hunk":"@@ -0,0 +1,18 @@\n+require \"rails_helper\"\n+\n+RSpec.describe MyJobsController, type: :controller do\n+  before do\n+    @user = create(:user)\n+    allow_any_instance_of(ApplicationController)\n+      .to receive(:current_user).and_return(@user)","path":"spec/controllers/my_jobs_controller_spec.rb","position":7,"original_position":7,"commit_id":"dacec72469b39f74bf0b10897e211223e212fc7d","original_commit_id":"dacec72469b39f74bf0b10897e211223e212fc7d","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":"Place the . on the previous line, together with the method call receiver.","created_at":"2015-04-30T05:14:45Z","updated_at":"2015-04-30T05:14:45Z","html_url":"https://github.com/mikedao/job_basket/pull/59#discussion_r29404141","pull_request_url":"https://api.github.com/repos/mikedao/job_basket/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/comments/29404141"},"html":{"href":"https://github.com/mikedao/job_basket/pull/59#discussion_r29404141"},"pull_request":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/mikedao/job_basket/pulls/59","id":34429051,"html_url":"https://github.com/mikedao/job_basket/pull/59","diff_url":"https://github.com/mikedao/job_basket/pull/59.diff","patch_url":"https://github.com/mikedao/job_basket/pull/59.patch","issue_url":"https://api.github.com/repos/mikedao/job_basket/issues/59","number":59,"state":"open","locked":false,"title":"Refactor my jobs","user":{"login":"bmrsny","id":8440504,"avatar_url":"https://avatars.githubusercontent.com/u/8440504?v=3","gravatar_id":"","url":"https://api.github.com/users/bmrsny","html_url":"https://github.com/bmrsny","followers_url":"https://api.github.com/users/bmrsny/followers","following_url":"https://api.github.com/users/bmrsny/following{/other_user}","gists_url":"https://api.github.com/users/bmrsny/gists{/gist_id}","starred_url":"https://api.github.com/users/bmrsny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmrsny/subscriptions","organizations_url":"https://api.github.com/users/bmrsny/orgs","repos_url":"https://api.github.com/users/bmrsny/repos","events_url":"https://api.github.com/users/bmrsny/events{/privacy}","received_events_url":"https://api.github.com/users/bmrsny/received_events","type":"User","site_admin":false},"body":"Removed reference to my jobs from jobs controller and added it to it's own MyJobs controller. ","created_at":"2015-04-30T05:14:43Z","updated_at":"2015-04-30T05:14:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44fdf22b2a0ab7b53bd6c01331d788fd2ad03735","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mikedao/job_basket/pulls/59/commits","review_comments_url":"https://api.github.com/repos/mikedao/job_basket/pulls/59/comments","review_comment_url":"https://api.github.com/repos/mikedao/job_basket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mikedao/job_basket/issues/59/comments","statuses_url":"https://api.github.com/repos/mikedao/job_basket/statuses/dacec72469b39f74bf0b10897e211223e212fc7d","head":{"label":"mikedao:refactor_my_jobs","ref":"refactor_my_jobs","sha":"dacec72469b39f74bf0b10897e211223e212fc7d","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":34081901,"name":"job_basket","full_name":"mikedao/job_basket","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/job_basket","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/job_basket","forks_url":"https://api.github.com/repos/mikedao/job_basket/forks","keys_url":"https://api.github.com/repos/mikedao/job_basket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/job_basket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/job_basket/teams","hooks_url":"https://api.github.com/repos/mikedao/job_basket/hooks","issue_events_url":"https://api.github.com/repos/mikedao/job_basket/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/job_basket/events","assignees_url":"https://api.github.com/repos/mikedao/job_basket/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/job_basket/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/job_basket/tags","blobs_url":"https://api.github.com/repos/mikedao/job_basket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/job_basket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/job_basket/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/job_basket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/job_basket/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/job_basket/languages","stargazers_url":"https://api.github.com/repos/mikedao/job_basket/stargazers","contributors_url":"https://api.github.com/repos/mikedao/job_basket/contributors","subscribers_url":"https://api.github.com/repos/mikedao/job_basket/subscribers","subscription_url":"https://api.github.com/repos/mikedao/job_basket/subscription","commits_url":"https://api.github.com/repos/mikedao/job_basket/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/job_basket/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/job_basket/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/job_basket/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikedao/job_basket/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/job_basket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/job_basket/merges","archive_url":"https://api.github.com/repos/mikedao/job_basket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/job_basket/downloads","issues_url":"https://api.github.com/repos/mikedao/job_basket/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/job_basket/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/job_basket/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/job_basket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/job_basket/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/job_basket/releases{/id}","created_at":"2015-04-16T21:35:35Z","updated_at":"2015-04-30T03:43:28Z","pushed_at":"2015-04-30T05:14:43Z","git_url":"git://github.com/mikedao/job_basket.git","ssh_url":"git@github.com:mikedao/job_basket.git","clone_url":"https://github.com/mikedao/job_basket.git","svn_url":"https://github.com/mikedao/job_basket","homepage":null,"size":2496,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"mikedao:master","ref":"master","sha":"61e080a0dbebbf5201ab4ddf96fa3f2c629bf014","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":34081901,"name":"job_basket","full_name":"mikedao/job_basket","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/job_basket","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/job_basket","forks_url":"https://api.github.com/repos/mikedao/job_basket/forks","keys_url":"https://api.github.com/repos/mikedao/job_basket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/job_basket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/job_basket/teams","hooks_url":"https://api.github.com/repos/mikedao/job_basket/hooks","issue_events_url":"https://api.github.com/repos/mikedao/job_basket/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/job_basket/events","assignees_url":"https://api.github.com/repos/mikedao/job_basket/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/job_basket/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/job_basket/tags","blobs_url":"https://api.github.com/repos/mikedao/job_basket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/job_basket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/job_basket/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/job_basket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/job_basket/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/job_basket/languages","stargazers_url":"https://api.github.com/repos/mikedao/job_basket/stargazers","contributors_url":"https://api.github.com/repos/mikedao/job_basket/contributors","subscribers_url":"https://api.github.com/repos/mikedao/job_basket/subscribers","subscription_url":"https://api.github.com/repos/mikedao/job_basket/subscription","commits_url":"https://api.github.com/repos/mikedao/job_basket/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/job_basket/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/job_basket/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/job_basket/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikedao/job_basket/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/job_basket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/job_basket/merges","archive_url":"https://api.github.com/repos/mikedao/job_basket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/job_basket/downloads","issues_url":"https://api.github.com/repos/mikedao/job_basket/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/job_basket/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/job_basket/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/job_basket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/job_basket/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/job_basket/releases{/id}","created_at":"2015-04-16T21:35:35Z","updated_at":"2015-04-30T03:43:28Z","pushed_at":"2015-04-30T05:14:43Z","git_url":"git://github.com/mikedao/job_basket.git","ssh_url":"git@github.com:mikedao/job_basket.git","clone_url":"https://github.com/mikedao/job_basket.git","svn_url":"https://github.com/mikedao/job_basket","homepage":null,"size":2496,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/59"},"html":{"href":"https://github.com/mikedao/job_basket/pull/59"},"issue":{"href":"https://api.github.com/repos/mikedao/job_basket/issues/59"},"comments":{"href":"https://api.github.com/repos/mikedao/job_basket/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/mikedao/job_basket/statuses/dacec72469b39f74bf0b10897e211223e212fc7d"}}}}