{"action":"created","comment":{"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/comments/84892364","pull_request_review_id":5640212,"id":84892364,"diff_hunk":"@@ -20,7 +20,7 @@\n     expect do\n       post \"/v0/disability_claims/#{claim_id}/documents\", params\n     end.to change(DisabilityClaim::DocumentUpload.jobs, :size).by(1)\n-    expect(response).to be_success\n-    expect(response.body).to be_empty\n+    expect(response.status).to eq(202)\n+    expect(JSON.parse(response.body)['job_id']).not_to be_empty","path":"spec/request/documents_spec.rb","position":7,"original_position":7,"commit_id":"69064c9055385edf9ab5ecfbd79a1f6b664362b3","original_commit_id":"b2c59d549c490a15c93d0de96df592254e1518ce","user":{"login":"aub","id":2895,"avatar_url":"https://avatars.githubusercontent.com/u/2895?v=3","gravatar_id":"","url":"https://api.github.com/users/aub","html_url":"https://github.com/aub","followers_url":"https://api.github.com/users/aub/followers","following_url":"https://api.github.com/users/aub/following{/other_user}","gists_url":"https://api.github.com/users/aub/gists{/gist_id}","starred_url":"https://api.github.com/users/aub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aub/subscriptions","organizations_url":"https://api.github.com/users/aub/orgs","repos_url":"https://api.github.com/users/aub/repos","events_url":"https://api.github.com/users/aub/events{/privacy}","received_events_url":"https://api.github.com/users/aub/received_events","type":"User","site_admin":false},"body":"Sure, I'll add that and then merge, thanks.","created_at":"2016-10-25T12:41:06Z","updated_at":"2016-10-25T12:41:06Z","html_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/337#discussion_r84892364","pull_request_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/337","_links":{"self":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/comments/84892364"},"html":{"href":"https://github.com/department-of-veterans-affairs/vets-api/pull/337#discussion_r84892364"},"pull_request":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/337"}}},"pull_request":{"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/337","id":90692044,"html_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/337","diff_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/337.diff","patch_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/337.patch","issue_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/337","number":337,"state":"open","locked":false,"title":"Render the background job id","user":{"login":"aub","id":2895,"avatar_url":"https://avatars.githubusercontent.com/u/2895?v=3","gravatar_id":"","url":"https://api.github.com/users/aub","html_url":"https://github.com/aub","followers_url":"https://api.github.com/users/aub/followers","following_url":"https://api.github.com/users/aub/following{/other_user}","gists_url":"https://api.github.com/users/aub/gists{/gist_id}","starred_url":"https://api.github.com/users/aub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aub/subscriptions","organizations_url":"https://api.github.com/users/aub/orgs","repos_url":"https://api.github.com/users/aub/repos","events_url":"https://api.github.com/users/aub/events{/privacy}","received_events_url":"https://api.github.com/users/aub/received_events","type":"User","site_admin":false},"body":"This adds an application_controller helper method for rendering the ID of a background job that results from a controller action and then applies it to the document create action.","created_at":"2016-10-24T21:02:01Z","updated_at":"2016-10-25T12:41:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6537fbe68756305666c936acad3c34daa60a6edd","assignee":{"login":"austin-martinez","id":16657563,"avatar_url":"https://avatars.githubusercontent.com/u/16657563?v=3","gravatar_id":"","url":"https://api.github.com/users/austin-martinez","html_url":"https://github.com/austin-martinez","followers_url":"https://api.github.com/users/austin-martinez/followers","following_url":"https://api.github.com/users/austin-martinez/following{/other_user}","gists_url":"https://api.github.com/users/austin-martinez/gists{/gist_id}","starred_url":"https://api.github.com/users/austin-martinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austin-martinez/subscriptions","organizations_url":"https://api.github.com/users/austin-martinez/orgs","repos_url":"https://api.github.com/users/austin-martinez/repos","events_url":"https://api.github.com/users/austin-martinez/events{/privacy}","received_events_url":"https://api.github.com/users/austin-martinez/received_events","type":"User","site_admin":false},"assignees":[{"login":"austin-martinez","id":16657563,"avatar_url":"https://avatars.githubusercontent.com/u/16657563?v=3","gravatar_id":"","url":"https://api.github.com/users/austin-martinez","html_url":"https://github.com/austin-martinez","followers_url":"https://api.github.com/users/austin-martinez/followers","following_url":"https://api.github.com/users/austin-martinez/following{/other_user}","gists_url":"https://api.github.com/users/austin-martinez/gists{/gist_id}","starred_url":"https://api.github.com/users/austin-martinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austin-martinez/subscriptions","organizations_url":"https://api.github.com/users/austin-martinez/orgs","repos_url":"https://api.github.com/users/austin-martinez/repos","events_url":"https://api.github.com/users/austin-martinez/events{/privacy}","received_events_url":"https://api.github.com/users/austin-martinez/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/337/commits","review_comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/337/comments","review_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/337/comments","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/statuses/69064c9055385edf9ab5ecfbd79a1f6b664362b3","head":{"label":"department-of-veterans-affairs:background","ref":"background","sha":"69064c9055385edf9ab5ecfbd79a1f6b664362b3","user":{"login":"department-of-veterans-affairs","id":5421563,"avatar_url":"https://avatars.githubusercontent.com/u/5421563?v=3","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"repo":{"id":62409417,"name":"vets-api","full_name":"department-of-veterans-affairs/vets-api","owner":{"login":"department-of-veterans-affairs","id":5421563,"avatar_url":"https://avatars.githubusercontent.com/u/5421563?v=3","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/department-of-veterans-affairs/vets-api","description":"API for vets.gov","fork":false,"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api","forks_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/forks","keys_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/teams","hooks_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/hooks","issue_events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/events{/number}","events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/events","assignees_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/assignees{/user}","branches_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/branches{/branch}","tags_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/tags","blobs_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/statuses/{sha}","languages_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/languages","stargazers_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/stargazers","contributors_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/contributors","subscribers_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/subscribers","subscription_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/subscription","commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/contents/{+path}","compare_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/merges","archive_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/downloads","issues_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues{/number}","pulls_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls{/number}","milestones_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/milestones{/number}","notifications_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/labels{/name}","releases_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/releases{/id}","deployments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/deployments","created_at":"2016-07-01T17:33:19Z","updated_at":"2016-10-23T11:11:55Z","pushed_at":"2016-10-25T12:35:37Z","git_url":"git://github.com/department-of-veterans-affairs/vets-api.git","ssh_url":"git@github.com:department-of-veterans-affairs/vets-api.git","clone_url":"https://github.com/department-of-veterans-affairs/vets-api.git","svn_url":"https://github.com/department-of-veterans-affairs/vets-api","homepage":null,"size":5307,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":37,"forks":1,"open_issues":37,"watchers":4,"default_branch":"master"}},"base":{"label":"department-of-veterans-affairs:master","ref":"master","sha":"c49fa9e50360c61551023bb593942bbf1517daba","user":{"login":"department-of-veterans-affairs","id":5421563,"avatar_url":"https://avatars.githubusercontent.com/u/5421563?v=3","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"repo":{"id":62409417,"name":"vets-api","full_name":"department-of-veterans-affairs/vets-api","owner":{"login":"department-of-veterans-affairs","id":5421563,"avatar_url":"https://avatars.githubusercontent.com/u/5421563?v=3","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/department-of-veterans-affairs/vets-api","description":"API for vets.gov","fork":false,"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api","forks_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/forks","keys_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/teams","hooks_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/hooks","issue_events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/events{/number}","events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/events","assignees_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/assignees{/user}","branches_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/branches{/branch}","tags_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/tags","blobs_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/statuses/{sha}","languages_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/languages","stargazers_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/stargazers","contributors_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/contributors","subscribers_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/subscribers","subscription_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/subscription","commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/contents/{+path}","compare_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/merges","archive_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/downloads","issues_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues{/number}","pulls_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls{/number}","milestones_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/milestones{/number}","notifications_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/labels{/name}","releases_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/releases{/id}","deployments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/deployments","created_at":"2016-07-01T17:33:19Z","updated_at":"2016-10-23T11:11:55Z","pushed_at":"2016-10-25T12:35:37Z","git_url":"git://github.com/department-of-veterans-affairs/vets-api.git","ssh_url":"git@github.com:department-of-veterans-affairs/vets-api.git","clone_url":"https://github.com/department-of-veterans-affairs/vets-api.git","svn_url":"https://github.com/department-of-veterans-affairs/vets-api","homepage":null,"size":5307,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":37,"forks":1,"open_issues":37,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/337"},"html":{"href":"https://github.com/department-of-veterans-affairs/vets-api/pull/337"},"issue":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/337"},"comments":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/337/comments"},"review_comments":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/337/comments"},"review_comment":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/337/commits"},"statuses":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/statuses/69064c9055385edf9ab5ecfbd79a1f6b664362b3"}}}}
{"actor":{"display_login":"aub"}}