{"action":"created","comment":{"url":"https://api.github.com/repos/andela/workdey/pulls/comments/46257212","id":46257212,"diff_hunk":"@@ -0,0 +1,16 @@\n+require 'rails_helper'\n+\n+RSpec.feature \"SearchByTasks\", type: :feature do\n+  before do\n+    Capybara.default_driver = :selenium\n+    workdey_data = Seed.new\n+    workdey_data.create_all\n+  end\n+\n+  scenario \"search by tasks\" do\n+    visit \"/\"\n+    fill_in \"searcher\", with: \"Cleaning\"\n+    click_button \"Search\"\n+    expect(page).to have_selector(\"p\", text: \"Chinedu Daniel\")\n+  end\n+end","path":"spec/features/search_for_taskee_spec.rb","position":16,"original_position":16,"commit_id":"d481f51737f45c520addd3ff6110e437b8f37efd","original_commit_id":"d481f51737f45c520addd3ff6110e437b8f37efd","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Final newline missing.","created_at":"2015-12-01T09:41:30Z","updated_at":"2015-12-01T09:41:30Z","html_url":"https://github.com/andela/workdey/pull/24#discussion_r46257212","pull_request_url":"https://api.github.com/repos/andela/workdey/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/andela/workdey/pulls/comments/46257212"},"html":{"href":"https://github.com/andela/workdey/pull/24#discussion_r46257212"},"pull_request":{"href":"https://api.github.com/repos/andela/workdey/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/andela/workdey/pulls/24","id":52235192,"html_url":"https://github.com/andela/workdey/pull/24","diff_url":"https://github.com/andela/workdey/pull/24.diff","patch_url":"https://github.com/andela/workdey/pull/24.patch","issue_url":"https://api.github.com/repos/andela/workdey/issues/24","number":24,"state":"open","locked":false,"title":"Implement search for taskers by task.","user":{"login":"andela-oojewale","id":13197538,"avatar_url":"https://avatars.githubusercontent.com/u/13197538?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-oojewale","html_url":"https://github.com/andela-oojewale","followers_url":"https://api.github.com/users/andela-oojewale/followers","following_url":"https://api.github.com/users/andela-oojewale/following{/other_user}","gists_url":"https://api.github.com/users/andela-oojewale/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oojewale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oojewale/subscriptions","organizations_url":"https://api.github.com/users/andela-oojewale/orgs","repos_url":"https://api.github.com/users/andela-oojewale/repos","events_url":"https://api.github.com/users/andela-oojewale/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oojewale/received_events","type":"User","site_admin":false},"body":"Why:\r\n\r\nUsers could not search for taskees on the app.\r\n\r\nThis change addresses the need by:\r\n\r\nCreating a search field on the home page.\r\n\r\nCreating a search for taskees of the particular task.\r\n\r\nFinding taskees by proximity to the user if user is signed in.\r\n\r\nAlso fetching taskees that are not close to the users location and adding them after all close taskees have been displayed.\r\n\r\nAllowing anonymous users to search for taskees by task.\r\n\r\nReturning taskee information (including picture) when any is found.\r\n\r\nAdd feature test to search.","created_at":"2015-12-01T09:41:25Z","updated_at":"2015-12-01T09:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a1c088e346b8f784e037e440635eb8b54cc547ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/workdey/pulls/24/commits","review_comments_url":"https://api.github.com/repos/andela/workdey/pulls/24/comments","review_comment_url":"https://api.github.com/repos/andela/workdey/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/workdey/issues/24/comments","statuses_url":"https://api.github.com/repos/andela/workdey/statuses/d481f51737f45c520addd3ff6110e437b8f37efd","head":{"label":"andela:feature/search_rebased","ref":"feature/search_rebased","sha":"d481f51737f45c520addd3ff6110e437b8f37efd","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":42399283,"name":"workdey","full_name":"andela/workdey","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/workdey","description":"","fork":false,"url":"https://api.github.com/repos/andela/workdey","forks_url":"https://api.github.com/repos/andela/workdey/forks","keys_url":"https://api.github.com/repos/andela/workdey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/workdey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/workdey/teams","hooks_url":"https://api.github.com/repos/andela/workdey/hooks","issue_events_url":"https://api.github.com/repos/andela/workdey/issues/events{/number}","events_url":"https://api.github.com/repos/andela/workdey/events","assignees_url":"https://api.github.com/repos/andela/workdey/assignees{/user}","branches_url":"https://api.github.com/repos/andela/workdey/branches{/branch}","tags_url":"https://api.github.com/repos/andela/workdey/tags","blobs_url":"https://api.github.com/repos/andela/workdey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/workdey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/workdey/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/workdey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/workdey/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/workdey/languages","stargazers_url":"https://api.github.com/repos/andela/workdey/stargazers","contributors_url":"https://api.github.com/repos/andela/workdey/contributors","subscribers_url":"https://api.github.com/repos/andela/workdey/subscribers","subscription_url":"https://api.github.com/repos/andela/workdey/subscription","commits_url":"https://api.github.com/repos/andela/workdey/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/workdey/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/workdey/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/workdey/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/workdey/contents/{+path}","compare_url":"https://api.github.com/repos/andela/workdey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/workdey/merges","archive_url":"https://api.github.com/repos/andela/workdey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/workdey/downloads","issues_url":"https://api.github.com/repos/andela/workdey/issues{/number}","pulls_url":"https://api.github.com/repos/andela/workdey/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/workdey/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/workdey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/workdey/labels{/name}","releases_url":"https://api.github.com/repos/andela/workdey/releases{/id}","created_at":"2015-09-13T14:40:39Z","updated_at":"2015-11-25T17:15:24Z","pushed_at":"2015-12-01T09:41:25Z","git_url":"git://github.com/andela/workdey.git","ssh_url":"git@github.com:andela/workdey.git","clone_url":"https://github.com/andela/workdey.git","svn_url":"https://github.com/andela/workdey","homepage":null,"size":2239,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:master","ref":"master","sha":"8842cd698f7f1b020f88b95d7f8426963af2afe0","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":42399283,"name":"workdey","full_name":"andela/workdey","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/workdey","description":"","fork":false,"url":"https://api.github.com/repos/andela/workdey","forks_url":"https://api.github.com/repos/andela/workdey/forks","keys_url":"https://api.github.com/repos/andela/workdey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/workdey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/workdey/teams","hooks_url":"https://api.github.com/repos/andela/workdey/hooks","issue_events_url":"https://api.github.com/repos/andela/workdey/issues/events{/number}","events_url":"https://api.github.com/repos/andela/workdey/events","assignees_url":"https://api.github.com/repos/andela/workdey/assignees{/user}","branches_url":"https://api.github.com/repos/andela/workdey/branches{/branch}","tags_url":"https://api.github.com/repos/andela/workdey/tags","blobs_url":"https://api.github.com/repos/andela/workdey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/workdey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/workdey/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/workdey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/workdey/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/workdey/languages","stargazers_url":"https://api.github.com/repos/andela/workdey/stargazers","contributors_url":"https://api.github.com/repos/andela/workdey/contributors","subscribers_url":"https://api.github.com/repos/andela/workdey/subscribers","subscription_url":"https://api.github.com/repos/andela/workdey/subscription","commits_url":"https://api.github.com/repos/andela/workdey/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/workdey/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/workdey/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/workdey/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/workdey/contents/{+path}","compare_url":"https://api.github.com/repos/andela/workdey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/workdey/merges","archive_url":"https://api.github.com/repos/andela/workdey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/workdey/downloads","issues_url":"https://api.github.com/repos/andela/workdey/issues{/number}","pulls_url":"https://api.github.com/repos/andela/workdey/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/workdey/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/workdey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/workdey/labels{/name}","releases_url":"https://api.github.com/repos/andela/workdey/releases{/id}","created_at":"2015-09-13T14:40:39Z","updated_at":"2015-11-25T17:15:24Z","pushed_at":"2015-12-01T09:41:25Z","git_url":"git://github.com/andela/workdey.git","ssh_url":"git@github.com:andela/workdey.git","clone_url":"https://github.com/andela/workdey.git","svn_url":"https://github.com/andela/workdey","homepage":null,"size":2239,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/workdey/pulls/24"},"html":{"href":"https://github.com/andela/workdey/pull/24"},"issue":{"href":"https://api.github.com/repos/andela/workdey/issues/24"},"comments":{"href":"https://api.github.com/repos/andela/workdey/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/workdey/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/workdey/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/workdey/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/andela/workdey/statuses/d481f51737f45c520addd3ff6110e437b8f37efd"}}}}