{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/comments/24079134","id":24079134,"diff_hunk":"@@ -91,6 +91,36 @@\n    expect(page).to have_content 'No results found'\n   end\n \n+  scenario \"using Close link to clear solicitor search results\", js: true do\n+    stub_solicitor_search_for_bob_smith\n+     visit root_path\n+     click_link 'New Defence Request'\n+     choose 'Own'\n+     fill_in 'q', with: \"Bob Smith\"\n+\n+     click_button 'Search'\n+     expect(page).to have_content 'Bobson Smith'\n+\n+     within('.solicitor_results_list') do\n+      click_link(\"Close\")","path":"spec/features/defence_request_creation_spec.rb","position":15,"original_position":15,"commit_id":"3dc4ddb664f2a0c3d6d0595a7b4114a31f70aa25","original_commit_id":"3dc4ddb664f2a0c3d6d0595a7b4114a31f70aa25","user":{"login":"ansonK","id":722405,"avatar_url":"https://avatars.githubusercontent.com/u/722405?v=3","gravatar_id":"","url":"https://api.github.com/users/ansonK","html_url":"https://github.com/ansonK","followers_url":"https://api.github.com/users/ansonK/followers","following_url":"https://api.github.com/users/ansonK/following{/other_user}","gists_url":"https://api.github.com/users/ansonK/gists{/gist_id}","starred_url":"https://api.github.com/users/ansonK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansonK/subscriptions","organizations_url":"https://api.github.com/users/ansonK/orgs","repos_url":"https://api.github.com/users/ansonK/repos","events_url":"https://api.github.com/users/ansonK/events{/privacy}","received_events_url":"https://api.github.com/users/ansonK/received_events","type":"User","site_admin":false},"body":"yeah not sure whose editor is not set to 2 spaces, was something I was going to raise","created_at":"2015-02-04T12:18:56Z","updated_at":"2015-02-04T12:18:56Z","html_url":"https://github.com/ministryofjustice/defence-solicitor/pull/18#discussion_r24079134","pull_request_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/comments/24079134"},"html":{"href":"https://github.com/ministryofjustice/defence-solicitor/pull/18#discussion_r24079134"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/18","id":28629288,"html_url":"https://github.com/ministryofjustice/defence-solicitor/pull/18","diff_url":"https://github.com/ministryofjustice/defence-solicitor/pull/18.diff","patch_url":"https://github.com/ministryofjustice/defence-solicitor/pull/18.patch","issue_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/18","number":18,"state":"open","locked":false,"title":"Close solicitor results","user":{"login":"ansonK","id":722405,"avatar_url":"https://avatars.githubusercontent.com/u/722405?v=3","gravatar_id":"","url":"https://api.github.com/users/ansonK","html_url":"https://github.com/ansonK","followers_url":"https://api.github.com/users/ansonK/followers","following_url":"https://api.github.com/users/ansonK/following{/other_user}","gists_url":"https://api.github.com/users/ansonK/gists{/gist_id}","starred_url":"https://api.github.com/users/ansonK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansonK/subscriptions","organizations_url":"https://api.github.com/users/ansonK/orgs","repos_url":"https://api.github.com/users/ansonK/repos","events_url":"https://api.github.com/users/ansonK/events{/privacy}","received_events_url":"https://api.github.com/users/ansonK/received_events","type":"User","site_admin":false},"body":"Adds ways of clearing own solicitor search results:\r\n* pressing ESC key\r\n* clicking a Close link in the results","created_at":"2015-02-04T10:56:21Z","updated_at":"2015-02-04T12:18:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f811a408ea649462189ebe58694e8c5097313e2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/18/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/18/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/18/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/statuses/3dc4ddb664f2a0c3d6d0595a7b4114a31f70aa25","head":{"label":"ministryofjustice:close-solicitor-results","ref":"close-solicitor-results","sha":"3dc4ddb664f2a0c3d6d0595a7b4114a31f70aa25","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":29689999,"name":"defence-solicitor","full_name":"ministryofjustice/defence-solicitor","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/defence-solicitor","description":"DSDS - Defence Solicitor Deployment Service (Duty Solicitors)","fork":false,"url":"https://api.github.com/repos/ministryofjustice/defence-solicitor","forks_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/forks","keys_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/events","assignees_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/comments/{number}","contents_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/merges","archive_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/releases{/id}","created_at":"2015-01-22T17:11:39Z","updated_at":"2015-02-03T17:11:57Z","pushed_at":"2015-02-04T10:54:51Z","git_url":"git://github.com/ministryofjustice/defence-solicitor.git","ssh_url":"git@github.com:ministryofjustice/defence-solicitor.git","clone_url":"https://github.com/ministryofjustice/defence-solicitor.git","svn_url":"https://github.com/ministryofjustice/defence-solicitor","homepage":"","size":416,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"7764531b5f621fa3a0e260997719d3dadf6fbe2c","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":29689999,"name":"defence-solicitor","full_name":"ministryofjustice/defence-solicitor","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/defence-solicitor","description":"DSDS - Defence Solicitor Deployment Service (Duty Solicitors)","fork":false,"url":"https://api.github.com/repos/ministryofjustice/defence-solicitor","forks_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/forks","keys_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/events","assignees_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/comments/{number}","contents_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/merges","archive_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/releases{/id}","created_at":"2015-01-22T17:11:39Z","updated_at":"2015-02-03T17:11:57Z","pushed_at":"2015-02-04T10:54:51Z","git_url":"git://github.com/ministryofjustice/defence-solicitor.git","ssh_url":"git@github.com:ministryofjustice/defence-solicitor.git","clone_url":"https://github.com/ministryofjustice/defence-solicitor.git","svn_url":"https://github.com/ministryofjustice/defence-solicitor","homepage":"","size":416,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/18"},"html":{"href":"https://github.com/ministryofjustice/defence-solicitor/pull/18"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/18"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/statuses/3dc4ddb664f2a0c3d6d0595a7b4114a31f70aa25"}}}}