{"action":"created","comment":{"url":"https://api.github.com/repos/openregister/registers-frontend/pulls/comments/220633749","pull_request_review_id":159086126,"id":220633749,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDYzMzc0OQ==","diff_hunk":"@@ -0,0 +1,44 @@\n+require 'rails_helper'\n+\n+RSpec.feature 'View register', type: :feature do\n+  before(:all) do\n+    country_data = File.read('./spec/support/country.rsf')\n+\n+    stub_request(:get, \"https://country.register.gov.uk/download-rsf/0\").\n+    with(headers: { 'Accept' => '*/*', 'Accept-Encoding' => 'gzip, deflate', 'Host' => 'country.register.gov.uk' }).\n+    to_return(status: 200, body: country_data, headers: {})\n+\n+    country_update = File.read('./spec/support/country_207.rsf')\n+    stub_request(:get, \"https://country.register.gov.uk/download-rsf/207\").\n+    with(headers: { 'Accept' => '*/*', 'Accept-Encoding' => 'gzip, deflate', 'Host' => 'country.register.gov.uk' }).\n+    to_return(status: 200, body: country_update, headers: {})\n+\n+    country_proof = File.read('./spec/support/country_proof.json')\n+    stub_request(:get, \"https://country.register.gov.uk/proof/register/merkle:sha-256\").\n+    with(headers: { 'Accept' => '*/*', 'Accept-Encoding' => 'gzip, deflate', 'Host' => 'country.register.gov.uk' }).\n+    to_return(body: country_proof)\n+\n+    government_organisation_data = File.read('./spec/support/government-organisation.rsf')\n+    stub_request(:get, \"https://government-organisation.register.gov.uk/download-rsf/0\").\n+    with(headers: { 'Accept' => '*/*', 'Accept-Encoding' => 'gzip, deflate', 'Host' => 'government-organisation.register.gov.uk' }).\n+    to_return(status: 200, body: government_organisation_data, headers: {})\n+\n+    stub_request(:get, \"https://government-organisation.register.gov.uk/download-rsf/1002\").\n+    with(headers: { 'Accept' => '*/*', 'Accept-Encoding' => 'gzip, deflate', 'Host' => 'government-organisation.register.gov.uk' }).\n+    to_return(status: 200, body: \"assert-root-hash\\tsha-256:f42d8409df99cceb6c92e5b6b2eb24cd51075d1aa23924fcbdbabf57fbc4ab98\")\n+\n+    country = ObjectsFactory.new.create_register('Country', 'Beta', 'D587')\n+    government_organisation = ObjectsFactory.new.create_register('government-organisation', 'Beta', 'D587')\n+    PopulateRegisterDataInDbJob.perform_now(country)\n+    PopulateRegisterDataInDbJob.perform_now(government_organisation)\n+  end\n+\n+  # scenario 'search for a register' do","path":"spec/features/access_data_flow_spec.rb","position":36,"original_position":36,"commit_id":"727de82b0ea3bb6668833bdfde7efeff397604b9","original_commit_id":"727de82b0ea3bb6668833bdfde7efeff397604b9","user":{"login":"MatMoore","id":87579,"node_id":"MDQ6VXNlcjg3NTc5","avatar_url":"https://avatars1.githubusercontent.com/u/87579?v=4","gravatar_id":"","url":"https://api.github.com/users/MatMoore","html_url":"https://github.com/MatMoore","followers_url":"https://api.github.com/users/MatMoore/followers","following_url":"https://api.github.com/users/MatMoore/following{/other_user}","gists_url":"https://api.github.com/users/MatMoore/gists{/gist_id}","starred_url":"https://api.github.com/users/MatMoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatMoore/subscriptions","organizations_url":"https://api.github.com/users/MatMoore/orgs","repos_url":"https://api.github.com/users/MatMoore/repos","events_url":"https://api.github.com/users/MatMoore/events{/privacy}","received_events_url":"https://api.github.com/users/MatMoore/received_events","type":"User","site_admin":false},"body":"is this meant to be commented out?","created_at":"2018-09-26T16:25:09Z","updated_at":"2018-09-26T16:33:18Z","html_url":"https://github.com/openregister/registers-frontend/pull/435#discussion_r220633749","pull_request_url":"https://api.github.com/repos/openregister/registers-frontend/pulls/435","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openregister/registers-frontend/pulls/comments/220633749"},"html":{"href":"https://github.com/openregister/registers-frontend/pull/435#discussion_r220633749"},"pull_request":{"href":"https://api.github.com/repos/openregister/registers-frontend/pulls/435"}}},"pull_request":{"url":"https://api.github.com/repos/openregister/registers-frontend/pulls/435","id":218262175,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MjYyMTc1","html_url":"https://github.com/openregister/registers-frontend/pull/435","diff_url":"https://github.com/openregister/registers-frontend/pull/435.diff","patch_url":"https://github.com/openregister/registers-frontend/pull/435.patch","issue_url":"https://api.github.com/repos/openregister/registers-frontend/issues/435","number":435,"state":"open","locked":false,"title":"Registers collections and frontend changes","user":{"login":"injms","id":1732331,"node_id":"MDQ6VXNlcjE3MzIzMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/1732331?v=4","gravatar_id":"","url":"https://api.github.com/users/injms","html_url":"https://github.com/injms","followers_url":"https://api.github.com/users/injms/followers","following_url":"https://api.github.com/users/injms/following{/other_user}","gists_url":"https://api.github.com/users/injms/gists{/gist_id}","starred_url":"https://api.github.com/users/injms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/injms/subscriptions","organizations_url":"https://api.github.com/users/injms/orgs","repos_url":"https://api.github.com/users/injms/repos","events_url":"https://api.github.com/users/injms/events{/privacy}","received_events_url":"https://api.github.com/users/injms/received_events","type":"User","site_admin":false},"body":"### Context\r\nThis is the changes to the registers collections page, the about page, the homepage, and the services using registers page.\r\n\r\n### Changes proposed in this pull request\r\n - Register collection page displays categories by default; can show organisations, and alphabetical list\r\n - About page updated with new copy\r\n - Homepage updated to show categories\r\n - Services using registers page updated\r\n - Footer and navigation updated\r\n\r\n### Guidance to review\r\nPreview is on the research staging site attached to each Trello card.","created_at":"2018-09-26T10:21:20Z","updated_at":"2018-09-26T16:33:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbc4f573f5f7c23dc35723c58f0b2a659adf1f8e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mpwoods","id":33098366,"node_id":"MDQ6VXNlcjMzMDk4MzY2","avatar_url":"https://avatars3.githubusercontent.com/u/33098366?v=4","gravatar_id":"","url":"https://api.github.com/users/mpwoods","html_url":"https://github.com/mpwoods","followers_url":"https://api.github.com/users/mpwoods/followers","following_url":"https://api.github.com/users/mpwoods/following{/other_user}","gists_url":"https://api.github.com/users/mpwoods/gists{/gist_id}","starred_url":"https://api.github.com/users/mpwoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpwoods/subscriptions","organizations_url":"https://api.github.com/users/mpwoods/orgs","repos_url":"https://api.github.com/users/mpwoods/repos","events_url":"https://api.github.com/users/mpwoods/events{/privacy}","received_events_url":"https://api.github.com/users/mpwoods/received_events","type":"User","site_admin":false},{"login":"conordelahunty","id":34026411,"node_id":"MDQ6VXNlcjM0MDI2NDEx","avatar_url":"https://avatars1.githubusercontent.com/u/34026411?v=4","gravatar_id":"","url":"https://api.github.com/users/conordelahunty","html_url":"https://github.com/conordelahunty","followers_url":"https://api.github.com/users/conordelahunty/followers","following_url":"https://api.github.com/users/conordelahunty/following{/other_user}","gists_url":"https://api.github.com/users/conordelahunty/gists{/gist_id}","starred_url":"https://api.github.com/users/conordelahunty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conordelahunty/subscriptions","organizations_url":"https://api.github.com/users/conordelahunty/orgs","repos_url":"https://api.github.com/users/conordelahunty/repos","events_url":"https://api.github.com/users/conordelahunty/events{/privacy}","received_events_url":"https://api.github.com/users/conordelahunty/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openregister/registers-frontend/pulls/435/commits","review_comments_url":"https://api.github.com/repos/openregister/registers-frontend/pulls/435/comments","review_comment_url":"https://api.github.com/repos/openregister/registers-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openregister/registers-frontend/issues/435/comments","statuses_url":"https://api.github.com/repos/openregister/registers-frontend/statuses/727de82b0ea3bb6668833bdfde7efeff397604b9","head":{"label":"openregister:new-frontend-layouts","ref":"new-frontend-layouts","sha":"727de82b0ea3bb6668833bdfde7efeff397604b9","user":{"login":"openregister","id":10206003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjA2MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/10206003?v=4","gravatar_id":"","url":"https://api.github.com/users/openregister","html_url":"https://github.com/openregister","followers_url":"https://api.github.com/users/openregister/followers","following_url":"https://api.github.com/users/openregister/following{/other_user}","gists_url":"https://api.github.com/users/openregister/gists{/gist_id}","starred_url":"https://api.github.com/users/openregister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openregister/subscriptions","organizations_url":"https://api.github.com/users/openregister/orgs","repos_url":"https://api.github.com/users/openregister/repos","events_url":"https://api.github.com/users/openregister/events{/privacy}","received_events_url":"https://api.github.com/users/openregister/received_events","type":"Organization","site_admin":false},"repo":{"id":79900152,"node_id":"MDEwOlJlcG9zaXRvcnk3OTkwMDE1Mg==","name":"registers-frontend","full_name":"openregister/registers-frontend","private":false,"owner":{"login":"openregister","id":10206003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjA2MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/10206003?v=4","gravatar_id":"","url":"https://api.github.com/users/openregister","html_url":"https://github.com/openregister","followers_url":"https://api.github.com/users/openregister/followers","following_url":"https://api.github.com/users/openregister/following{/other_user}","gists_url":"https://api.github.com/users/openregister/gists{/gist_id}","starred_url":"https://api.github.com/users/openregister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openregister/subscriptions","organizations_url":"https://api.github.com/users/openregister/orgs","repos_url":"https://api.github.com/users/openregister/repos","events_url":"https://api.github.com/users/openregister/events{/privacy}","received_events_url":"https://api.github.com/users/openregister/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openregister/registers-frontend","description":"GOV.UK Registers Frontend","fork":false,"url":"https://api.github.com/repos/openregister/registers-frontend","forks_url":"https://api.github.com/repos/openregister/registers-frontend/forks","keys_url":"https://api.github.com/repos/openregister/registers-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openregister/registers-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openregister/registers-frontend/teams","hooks_url":"https://api.github.com/repos/openregister/registers-frontend/hooks","issue_events_url":"https://api.github.com/repos/openregister/registers-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/openregister/registers-frontend/events","assignees_url":"https://api.github.com/repos/openregister/registers-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/openregister/registers-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/openregister/registers-frontend/tags","blobs_url":"https://api.github.com/repos/openregister/registers-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openregister/registers-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openregister/registers-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/openregister/registers-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openregister/registers-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/openregister/registers-frontend/languages","stargazers_url":"https://api.github.com/repos/openregister/registers-frontend/stargazers","contributors_url":"https://api.github.com/repos/openregister/registers-frontend/contributors","subscribers_url":"https://api.github.com/repos/openregister/registers-frontend/subscribers","subscription_url":"https://api.github.com/repos/openregister/registers-frontend/subscription","commits_url":"https://api.github.com/repos/openregister/registers-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/openregister/registers-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/openregister/registers-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/openregister/registers-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/openregister/registers-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/openregister/registers-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openregister/registers-frontend/merges","archive_url":"https://api.github.com/repos/openregister/registers-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openregister/registers-frontend/downloads","issues_url":"https://api.github.com/repos/openregister/registers-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/openregister/registers-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/openregister/registers-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/openregister/registers-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openregister/registers-frontend/labels{/name}","releases_url":"https://api.github.com/repos/openregister/registers-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/openregister/registers-frontend/deployments","created_at":"2017-01-24T10:11:12Z","updated_at":"2018-09-24T09:19:05Z","pushed_at":"2018-09-26T16:12:26Z","git_url":"git://github.com/openregister/registers-frontend.git","ssh_url":"git@github.com:openregister/registers-frontend.git","clone_url":"https://github.com/openregister/registers-frontend.git","svn_url":"https://github.com/openregister/registers-frontend","homepage":"https://www.registers.service.gov.uk/","size":3488,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"openregister:master","ref":"master","sha":"1a0102b42501087b0573c724cdf0df0c7cf4dbf9","user":{"login":"openregister","id":10206003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjA2MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/10206003?v=4","gravatar_id":"","url":"https://api.github.com/users/openregister","html_url":"https://github.com/openregister","followers_url":"https://api.github.com/users/openregister/followers","following_url":"https://api.github.com/users/openregister/following{/other_user}","gists_url":"https://api.github.com/users/openregister/gists{/gist_id}","starred_url":"https://api.github.com/users/openregister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openregister/subscriptions","organizations_url":"https://api.github.com/users/openregister/orgs","repos_url":"https://api.github.com/users/openregister/repos","events_url":"https://api.github.com/users/openregister/events{/privacy}","received_events_url":"https://api.github.com/users/openregister/received_events","type":"Organization","site_admin":false},"repo":{"id":79900152,"node_id":"MDEwOlJlcG9zaXRvcnk3OTkwMDE1Mg==","name":"registers-frontend","full_name":"openregister/registers-frontend","private":false,"owner":{"login":"openregister","id":10206003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjA2MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/10206003?v=4","gravatar_id":"","url":"https://api.github.com/users/openregister","html_url":"https://github.com/openregister","followers_url":"https://api.github.com/users/openregister/followers","following_url":"https://api.github.com/users/openregister/following{/other_user}","gists_url":"https://api.github.com/users/openregister/gists{/gist_id}","starred_url":"https://api.github.com/users/openregister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openregister/subscriptions","organizations_url":"https://api.github.com/users/openregister/orgs","repos_url":"https://api.github.com/users/openregister/repos","events_url":"https://api.github.com/users/openregister/events{/privacy}","received_events_url":"https://api.github.com/users/openregister/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openregister/registers-frontend","description":"GOV.UK Registers Frontend","fork":false,"url":"https://api.github.com/repos/openregister/registers-frontend","forks_url":"https://api.github.com/repos/openregister/registers-frontend/forks","keys_url":"https://api.github.com/repos/openregister/registers-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openregister/registers-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openregister/registers-frontend/teams","hooks_url":"https://api.github.com/repos/openregister/registers-frontend/hooks","issue_events_url":"https://api.github.com/repos/openregister/registers-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/openregister/registers-frontend/events","assignees_url":"https://api.github.com/repos/openregister/registers-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/openregister/registers-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/openregister/registers-frontend/tags","blobs_url":"https://api.github.com/repos/openregister/registers-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openregister/registers-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openregister/registers-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/openregister/registers-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openregister/registers-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/openregister/registers-frontend/languages","stargazers_url":"https://api.github.com/repos/openregister/registers-frontend/stargazers","contributors_url":"https://api.github.com/repos/openregister/registers-frontend/contributors","subscribers_url":"https://api.github.com/repos/openregister/registers-frontend/subscribers","subscription_url":"https://api.github.com/repos/openregister/registers-frontend/subscription","commits_url":"https://api.github.com/repos/openregister/registers-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/openregister/registers-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/openregister/registers-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/openregister/registers-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/openregister/registers-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/openregister/registers-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openregister/registers-frontend/merges","archive_url":"https://api.github.com/repos/openregister/registers-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openregister/registers-frontend/downloads","issues_url":"https://api.github.com/repos/openregister/registers-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/openregister/registers-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/openregister/registers-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/openregister/registers-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openregister/registers-frontend/labels{/name}","releases_url":"https://api.github.com/repos/openregister/registers-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/openregister/registers-frontend/deployments","created_at":"2017-01-24T10:11:12Z","updated_at":"2018-09-24T09:19:05Z","pushed_at":"2018-09-26T16:12:26Z","git_url":"git://github.com/openregister/registers-frontend.git","ssh_url":"git@github.com:openregister/registers-frontend.git","clone_url":"https://github.com/openregister/registers-frontend.git","svn_url":"https://github.com/openregister/registers-frontend","homepage":"https://www.registers.service.gov.uk/","size":3488,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openregister/registers-frontend/pulls/435"},"html":{"href":"https://github.com/openregister/registers-frontend/pull/435"},"issue":{"href":"https://api.github.com/repos/openregister/registers-frontend/issues/435"},"comments":{"href":"https://api.github.com/repos/openregister/registers-frontend/issues/435/comments"},"review_comments":{"href":"https://api.github.com/repos/openregister/registers-frontend/pulls/435/comments"},"review_comment":{"href":"https://api.github.com/repos/openregister/registers-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openregister/registers-frontend/pulls/435/commits"},"statuses":{"href":"https://api.github.com/repos/openregister/registers-frontend/statuses/727de82b0ea3bb6668833bdfde7efeff397604b9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"MatMoore"}}