{"action":"created","comment":{"url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/comments/88051394","pull_request_review_id":8636862,"id":88051394,"diff_hunk":"@@ -21,6 +21,7 @@\n         }\n       }\n \n+      allow(BookingLocations).to receive(:find).and_return(double(:booking_location, name_for: ''))","path":"spec/requests/complete_booking_request_spec.rb","position":null,"original_position":4,"commit_id":"d15a6c1e65e9b3c7cd04a46c7e4edd168176c5f1","original_commit_id":"dfa6c2f41fc56eb7dc89b37aa064ec6c695d9720","user":{"login":"dwhenry","id":63736,"avatar_url":"https://avatars.githubusercontent.com/u/63736?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhenry","html_url":"https://github.com/dwhenry","followers_url":"https://api.github.com/users/dwhenry/followers","following_url":"https://api.github.com/users/dwhenry/following{/other_user}","gists_url":"https://api.github.com/users/dwhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhenry/subscriptions","organizations_url":"https://api.github.com/users/dwhenry/orgs","repos_url":"https://api.github.com/users/dwhenry/repos","events_url":"https://api.github.com/users/dwhenry/events{/privacy}","received_events_url":"https://api.github.com/users/dwhenry/received_events","type":"User","site_admin":false},"body":"Extracted this out to a before with a comment on why it's needed. Let me know if it makes more sense now.\r\n","created_at":"2016-11-15T16:14:05Z","updated_at":"2016-11-15T16:14:05Z","html_url":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/684#discussion_r88051394","pull_request_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/684","_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/comments/88051394"},"html":{"href":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/684#discussion_r88051394"},"pull_request":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/684"}}},"pull_request":{"url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/684","id":93761215,"html_url":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/684","diff_url":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/684.diff","patch_url":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/684.patch","issue_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/684","number":684,"state":"open","locked":false,"title":"Improve locations screens","user":{"login":"dwhenry","id":63736,"avatar_url":"https://avatars.githubusercontent.com/u/63736?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhenry","html_url":"https://github.com/dwhenry","followers_url":"https://api.github.com/users/dwhenry/followers","following_url":"https://api.github.com/users/dwhenry/following{/other_user}","gists_url":"https://api.github.com/users/dwhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhenry/subscriptions","organizations_url":"https://api.github.com/users/dwhenry/orgs","repos_url":"https://api.github.com/users/dwhenry/repos","events_url":"https://api.github.com/users/dwhenry/events{/privacy}","received_events_url":"https://api.github.com/users/dwhenry/received_events","type":"User","site_admin":false},"body":"Set of improvements to the locations search results screen.\r\n\r\nThis also removes the phone number fallback when a twilio number \r\nis not present on a location.","created_at":"2016-11-15T13:02:42Z","updated_at":"2016-11-15T16:14:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"332246487c8c19f5f89c2c372b1c9218ddcc8bfd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/684/commits","review_comments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/684/comments","review_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/684/comments","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/statuses/d15a6c1e65e9b3c7cd04a46c7e4edd168176c5f1","head":{"label":"guidance-guarantee-programme:improve-locations-screens","ref":"improve-locations-screens","sha":"d15a6c1e65e9b3c7cd04a46c7e4edd168176c5f1","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":26530409,"name":"pension_guidance","full_name":"guidance-guarantee-programme/pension_guidance","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/pension_guidance","description":"Pension guidance from Pension Wise.","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/releases{/id}","deployments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/deployments","created_at":"2014-11-12T10:16:42Z","updated_at":"2016-10-24T08:13:15Z","pushed_at":"2016-11-15T16:12:50Z","git_url":"git://github.com/guidance-guarantee-programme/pension_guidance.git","ssh_url":"git@github.com:guidance-guarantee-programme/pension_guidance.git","clone_url":"https://github.com/guidance-guarantee-programme/pension_guidance.git","svn_url":"https://github.com/guidance-guarantee-programme/pension_guidance","homepage":"https://www.pensionwise.gov.uk","size":21323,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"guidance-guarantee-programme:master","ref":"master","sha":"5cb500e1032fe59dd20c05f5b22ffdfcc04d43f1","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":26530409,"name":"pension_guidance","full_name":"guidance-guarantee-programme/pension_guidance","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/pension_guidance","description":"Pension guidance from Pension Wise.","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/releases{/id}","deployments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/deployments","created_at":"2014-11-12T10:16:42Z","updated_at":"2016-10-24T08:13:15Z","pushed_at":"2016-11-15T16:12:50Z","git_url":"git://github.com/guidance-guarantee-programme/pension_guidance.git","ssh_url":"git@github.com:guidance-guarantee-programme/pension_guidance.git","clone_url":"https://github.com/guidance-guarantee-programme/pension_guidance.git","svn_url":"https://github.com/guidance-guarantee-programme/pension_guidance","homepage":"https://www.pensionwise.gov.uk","size":21323,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/684"},"html":{"href":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/684"},"issue":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/684"},"comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/684/comments"},"review_comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/684/comments"},"review_comment":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/684/commits"},"statuses":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/statuses/d15a6c1e65e9b3c7cd04a46c7e4edd168176c5f1"}}}}
{"actor":{"display_login":"dwhenry"}}