{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/comments/70825047","id":70825047,"diff_hunk":"@@ -1,12 +1,7 @@\n require 'spec_helper'\n \n RSpec.feature \"Editing a CMA case\", type: :feature do\n-  let(:cma_case) {\n-    FactoryGirl.create(:cma_case,\n-      title: \"Example CMA Case\",\n-      publication_state: \"draft\")\n-  }\n-\n+  let(:cma_case) { FactoryGirl.create(:cma_case, title: \"Example CMA Case\") }","path":"spec/features/editing_a_cma_case_spec.rb","position":10,"original_position":10,"commit_id":"5a68a30b551ac5daf92e3d1685de443c0683dbfe","original_commit_id":"5a68a30b551ac5daf92e3d1685de443c0683dbfe","user":{"login":"Seraphiana","id":5594262,"avatar_url":"https://avatars.githubusercontent.com/u/5594262?v=3","gravatar_id":"","url":"https://api.github.com/users/Seraphiana","html_url":"https://github.com/Seraphiana","followers_url":"https://api.github.com/users/Seraphiana/followers","following_url":"https://api.github.com/users/Seraphiana/following{/other_user}","gists_url":"https://api.github.com/users/Seraphiana/gists{/gist_id}","starred_url":"https://api.github.com/users/Seraphiana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seraphiana/subscriptions","organizations_url":"https://api.github.com/users/Seraphiana/orgs","repos_url":"https://api.github.com/users/Seraphiana/repos","events_url":"https://api.github.com/users/Seraphiana/events{/privacy}","received_events_url":"https://api.github.com/users/Seraphiana/received_events","type":"User","site_admin":false},"body":"yup, seems neater now that nil counts as draft 👍 ","created_at":"2016-07-14T15:19:06Z","updated_at":"2016-07-14T15:19:06Z","html_url":"https://github.com/alphagov/specialist-publisher-rebuild/pull/827#discussion_r70825047","pull_request_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/827","_links":{"self":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/comments/70825047"},"html":{"href":"https://github.com/alphagov/specialist-publisher-rebuild/pull/827#discussion_r70825047"},"pull_request":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/827"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/827","id":77310934,"html_url":"https://github.com/alphagov/specialist-publisher-rebuild/pull/827","diff_url":"https://github.com/alphagov/specialist-publisher-rebuild/pull/827.diff","patch_url":"https://github.com/alphagov/specialist-publisher-rebuild/pull/827.patch","issue_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/827","number":827,"state":"open","locked":false,"title":"Redrafting an unpublished document requires an update_type","user":{"login":"tuzz","id":892251,"avatar_url":"https://avatars.githubusercontent.com/u/892251?v=3","gravatar_id":"","url":"https://api.github.com/users/tuzz","html_url":"https://github.com/tuzz","followers_url":"https://api.github.com/users/tuzz/followers","following_url":"https://api.github.com/users/tuzz/following{/other_user}","gists_url":"https://api.github.com/users/tuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzz/subscriptions","organizations_url":"https://api.github.com/users/tuzz/orgs","repos_url":"https://api.github.com/users/tuzz/repos","events_url":"https://api.github.com/users/tuzz/events{/privacy}","received_events_url":"https://api.github.com/users/tuzz/received_events","type":"User","site_admin":false},"body":"This pull request fixes the first part of the following ticket. I will do the second part in a separate pull request.\r\n\r\nhttps://trello.com/c/oxxALgmy/187-changes-to-update-type-for-raib-reports","created_at":"2016-07-13T15:34:54Z","updated_at":"2016-07-14T15:19:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ad3533dbabe2badb7306dd926e4cd203ae9bcf2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/827/commits","review_comments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/827/comments","review_comment_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/827/comments","statuses_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/statuses/5a68a30b551ac5daf92e3d1685de443c0683dbfe","head":{"label":"alphagov:unpublish-update-type","ref":"unpublish-update-type","sha":"5a68a30b551ac5daf92e3d1685de443c0683dbfe","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":55792443,"name":"specialist-publisher-rebuild","full_name":"alphagov/specialist-publisher-rebuild","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/specialist-publisher-rebuild","description":"Publishing app for specialist documents and manuals on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild","forks_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/forks","keys_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/teams","hooks_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/hooks","issue_events_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/events","assignees_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/tags","blobs_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/languages","stargazers_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/stargazers","contributors_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/contributors","subscribers_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/subscribers","subscription_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/subscription","commits_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/merges","archive_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/downloads","issues_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/deployments","created_at":"2016-04-08T16:10:36Z","updated_at":"2016-04-13T14:31:44Z","pushed_at":"2016-07-14T14:37:51Z","git_url":"git://github.com/alphagov/specialist-publisher-rebuild.git","ssh_url":"git@github.com:alphagov/specialist-publisher-rebuild.git","clone_url":"https://github.com/alphagov/specialist-publisher-rebuild.git","svn_url":"https://github.com/alphagov/specialist-publisher-rebuild","homepage":"","size":5613,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"ed950e857ad859b001d67c15117779eeb0850e0e","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":55792443,"name":"specialist-publisher-rebuild","full_name":"alphagov/specialist-publisher-rebuild","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/specialist-publisher-rebuild","description":"Publishing app for specialist documents and manuals on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild","forks_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/forks","keys_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/teams","hooks_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/hooks","issue_events_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/events","assignees_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/tags","blobs_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/languages","stargazers_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/stargazers","contributors_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/contributors","subscribers_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/subscribers","subscription_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/subscription","commits_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/merges","archive_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/downloads","issues_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/deployments","created_at":"2016-04-08T16:10:36Z","updated_at":"2016-04-13T14:31:44Z","pushed_at":"2016-07-14T14:37:51Z","git_url":"git://github.com/alphagov/specialist-publisher-rebuild.git","ssh_url":"git@github.com:alphagov/specialist-publisher-rebuild.git","clone_url":"https://github.com/alphagov/specialist-publisher-rebuild.git","svn_url":"https://github.com/alphagov/specialist-publisher-rebuild","homepage":"","size":5613,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/827"},"html":{"href":"https://github.com/alphagov/specialist-publisher-rebuild/pull/827"},"issue":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/827"},"comments":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/827/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/827/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/pulls/827/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/statuses/5a68a30b551ac5daf92e3d1685de443c0683dbfe"}}}}
{"actor":{"display_login":"Seraphiana"}}