{"action":"created","comment":{"url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/comments/70049285","id":70049285,"diff_hunk":"@@ -0,0 +1,31 @@\n+require_relative '../feature_helper'\n+\n+feature \"User searching\" do\n+\n+  given!(:question) { create(:question, body: 'absoribing question') }\n+  given!(:answer)   { create(:answer, body: 'absoribing answer') }\n+  given!(:comment)  { create(:comment, body: 'absoribing comment') }\n+\n+  before do\n+    index \n+    visit root_path\n+  end\n+\n+  it 'searchs all rescources', js: true do\n+    select 'global', from: \"Scope\"\n+    fill_in 'Query', with: 'absoribing'\n+    click_on \"Search\"\n+    expect(page).to have_content(question.title)\n+    expect(page).to have_content(answer.question.title)\n+    expect(page).to have_content(comment.commentable.question.title)\n+  end\n+\n+  it 'searchs only answer', js: true do","path":"spec/features/search/user_search_spec.rb","position":23,"original_position":23,"commit_id":"5cef6024d525fa43c6fa81e4a674a39db0926748","original_commit_id":"5cef6024d525fa43c6fa81e4a674a39db0926748","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"Нужно для всех типов написать такие тесты","created_at":"2016-07-08T09:38:33Z","updated_at":"2016-07-08T09:38:33Z","html_url":"https://github.com/nmiloserdov/queue-flow/pull/17#discussion_r70049285","pull_request_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/comments/70049285"},"html":{"href":"https://github.com/nmiloserdov/queue-flow/pull/17#discussion_r70049285"},"pull_request":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/17","id":76589040,"html_url":"https://github.com/nmiloserdov/queue-flow/pull/17","diff_url":"https://github.com/nmiloserdov/queue-flow/pull/17.diff","patch_url":"https://github.com/nmiloserdov/queue-flow/pull/17.patch","issue_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/17","number":17,"state":"open","locked":false,"title":"Sphinx","user":{"login":"nmiloserdov","id":14846508,"avatar_url":"https://avatars.githubusercontent.com/u/14846508?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiloserdov","html_url":"https://github.com/nmiloserdov","followers_url":"https://api.github.com/users/nmiloserdov/followers","following_url":"https://api.github.com/users/nmiloserdov/following{/other_user}","gists_url":"https://api.github.com/users/nmiloserdov/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiloserdov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiloserdov/subscriptions","organizations_url":"https://api.github.com/users/nmiloserdov/orgs","repos_url":"https://api.github.com/users/nmiloserdov/repos","events_url":"https://api.github.com/users/nmiloserdov/events{/privacy}","received_events_url":"https://api.github.com/users/nmiloserdov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-07T12:48:58Z","updated_at":"2016-07-08T09:38:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c8b8abca2811a95a42fcb66f0d9a563b31401a1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/17/commits","review_comments_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/17/comments","review_comment_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/17/comments","statuses_url":"https://api.github.com/repos/nmiloserdov/queue-flow/statuses/5cef6024d525fa43c6fa81e4a674a39db0926748","head":{"label":"nmiloserdov:sphinx","ref":"sphinx","sha":"5cef6024d525fa43c6fa81e4a674a39db0926748","user":{"login":"nmiloserdov","id":14846508,"avatar_url":"https://avatars.githubusercontent.com/u/14846508?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiloserdov","html_url":"https://github.com/nmiloserdov","followers_url":"https://api.github.com/users/nmiloserdov/followers","following_url":"https://api.github.com/users/nmiloserdov/following{/other_user}","gists_url":"https://api.github.com/users/nmiloserdov/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiloserdov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiloserdov/subscriptions","organizations_url":"https://api.github.com/users/nmiloserdov/orgs","repos_url":"https://api.github.com/users/nmiloserdov/repos","events_url":"https://api.github.com/users/nmiloserdov/events{/privacy}","received_events_url":"https://api.github.com/users/nmiloserdov/received_events","type":"User","site_admin":false},"repo":{"id":53793006,"name":"queue-flow","full_name":"nmiloserdov/queue-flow","owner":{"login":"nmiloserdov","id":14846508,"avatar_url":"https://avatars.githubusercontent.com/u/14846508?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiloserdov","html_url":"https://github.com/nmiloserdov","followers_url":"https://api.github.com/users/nmiloserdov/followers","following_url":"https://api.github.com/users/nmiloserdov/following{/other_user}","gists_url":"https://api.github.com/users/nmiloserdov/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiloserdov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiloserdov/subscriptions","organizations_url":"https://api.github.com/users/nmiloserdov/orgs","repos_url":"https://api.github.com/users/nmiloserdov/repos","events_url":"https://api.github.com/users/nmiloserdov/events{/privacy}","received_events_url":"https://api.github.com/users/nmiloserdov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nmiloserdov/queue-flow","description":"Stack Overflow clone","fork":false,"url":"https://api.github.com/repos/nmiloserdov/queue-flow","forks_url":"https://api.github.com/repos/nmiloserdov/queue-flow/forks","keys_url":"https://api.github.com/repos/nmiloserdov/queue-flow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nmiloserdov/queue-flow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nmiloserdov/queue-flow/teams","hooks_url":"https://api.github.com/repos/nmiloserdov/queue-flow/hooks","issue_events_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/events{/number}","events_url":"https://api.github.com/repos/nmiloserdov/queue-flow/events","assignees_url":"https://api.github.com/repos/nmiloserdov/queue-flow/assignees{/user}","branches_url":"https://api.github.com/repos/nmiloserdov/queue-flow/branches{/branch}","tags_url":"https://api.github.com/repos/nmiloserdov/queue-flow/tags","blobs_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/refs{/sha}","trees_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nmiloserdov/queue-flow/statuses/{sha}","languages_url":"https://api.github.com/repos/nmiloserdov/queue-flow/languages","stargazers_url":"https://api.github.com/repos/nmiloserdov/queue-flow/stargazers","contributors_url":"https://api.github.com/repos/nmiloserdov/queue-flow/contributors","subscribers_url":"https://api.github.com/repos/nmiloserdov/queue-flow/subscribers","subscription_url":"https://api.github.com/repos/nmiloserdov/queue-flow/subscription","commits_url":"https://api.github.com/repos/nmiloserdov/queue-flow/commits{/sha}","git_commits_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/commits{/sha}","comments_url":"https://api.github.com/repos/nmiloserdov/queue-flow/comments{/number}","issue_comment_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/comments{/number}","contents_url":"https://api.github.com/repos/nmiloserdov/queue-flow/contents/{+path}","compare_url":"https://api.github.com/repos/nmiloserdov/queue-flow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nmiloserdov/queue-flow/merges","archive_url":"https://api.github.com/repos/nmiloserdov/queue-flow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nmiloserdov/queue-flow/downloads","issues_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues{/number}","pulls_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls{/number}","milestones_url":"https://api.github.com/repos/nmiloserdov/queue-flow/milestones{/number}","notifications_url":"https://api.github.com/repos/nmiloserdov/queue-flow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nmiloserdov/queue-flow/labels{/name}","releases_url":"https://api.github.com/repos/nmiloserdov/queue-flow/releases{/id}","deployments_url":"https://api.github.com/repos/nmiloserdov/queue-flow/deployments","created_at":"2016-03-13T15:44:13Z","updated_at":"2016-06-06T19:35:10Z","pushed_at":"2016-07-07T12:48:59Z","git_url":"git://github.com/nmiloserdov/queue-flow.git","ssh_url":"git@github.com:nmiloserdov/queue-flow.git","clone_url":"https://github.com/nmiloserdov/queue-flow.git","svn_url":"https://github.com/nmiloserdov/queue-flow","homepage":null,"size":1403,"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":"nmiloserdov:master","ref":"master","sha":"a745f12d185904f9383e597a72406f5f2594e6f6","user":{"login":"nmiloserdov","id":14846508,"avatar_url":"https://avatars.githubusercontent.com/u/14846508?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiloserdov","html_url":"https://github.com/nmiloserdov","followers_url":"https://api.github.com/users/nmiloserdov/followers","following_url":"https://api.github.com/users/nmiloserdov/following{/other_user}","gists_url":"https://api.github.com/users/nmiloserdov/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiloserdov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiloserdov/subscriptions","organizations_url":"https://api.github.com/users/nmiloserdov/orgs","repos_url":"https://api.github.com/users/nmiloserdov/repos","events_url":"https://api.github.com/users/nmiloserdov/events{/privacy}","received_events_url":"https://api.github.com/users/nmiloserdov/received_events","type":"User","site_admin":false},"repo":{"id":53793006,"name":"queue-flow","full_name":"nmiloserdov/queue-flow","owner":{"login":"nmiloserdov","id":14846508,"avatar_url":"https://avatars.githubusercontent.com/u/14846508?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiloserdov","html_url":"https://github.com/nmiloserdov","followers_url":"https://api.github.com/users/nmiloserdov/followers","following_url":"https://api.github.com/users/nmiloserdov/following{/other_user}","gists_url":"https://api.github.com/users/nmiloserdov/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiloserdov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiloserdov/subscriptions","organizations_url":"https://api.github.com/users/nmiloserdov/orgs","repos_url":"https://api.github.com/users/nmiloserdov/repos","events_url":"https://api.github.com/users/nmiloserdov/events{/privacy}","received_events_url":"https://api.github.com/users/nmiloserdov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nmiloserdov/queue-flow","description":"Stack Overflow clone","fork":false,"url":"https://api.github.com/repos/nmiloserdov/queue-flow","forks_url":"https://api.github.com/repos/nmiloserdov/queue-flow/forks","keys_url":"https://api.github.com/repos/nmiloserdov/queue-flow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nmiloserdov/queue-flow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nmiloserdov/queue-flow/teams","hooks_url":"https://api.github.com/repos/nmiloserdov/queue-flow/hooks","issue_events_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/events{/number}","events_url":"https://api.github.com/repos/nmiloserdov/queue-flow/events","assignees_url":"https://api.github.com/repos/nmiloserdov/queue-flow/assignees{/user}","branches_url":"https://api.github.com/repos/nmiloserdov/queue-flow/branches{/branch}","tags_url":"https://api.github.com/repos/nmiloserdov/queue-flow/tags","blobs_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/refs{/sha}","trees_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nmiloserdov/queue-flow/statuses/{sha}","languages_url":"https://api.github.com/repos/nmiloserdov/queue-flow/languages","stargazers_url":"https://api.github.com/repos/nmiloserdov/queue-flow/stargazers","contributors_url":"https://api.github.com/repos/nmiloserdov/queue-flow/contributors","subscribers_url":"https://api.github.com/repos/nmiloserdov/queue-flow/subscribers","subscription_url":"https://api.github.com/repos/nmiloserdov/queue-flow/subscription","commits_url":"https://api.github.com/repos/nmiloserdov/queue-flow/commits{/sha}","git_commits_url":"https://api.github.com/repos/nmiloserdov/queue-flow/git/commits{/sha}","comments_url":"https://api.github.com/repos/nmiloserdov/queue-flow/comments{/number}","issue_comment_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/comments{/number}","contents_url":"https://api.github.com/repos/nmiloserdov/queue-flow/contents/{+path}","compare_url":"https://api.github.com/repos/nmiloserdov/queue-flow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nmiloserdov/queue-flow/merges","archive_url":"https://api.github.com/repos/nmiloserdov/queue-flow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nmiloserdov/queue-flow/downloads","issues_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues{/number}","pulls_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls{/number}","milestones_url":"https://api.github.com/repos/nmiloserdov/queue-flow/milestones{/number}","notifications_url":"https://api.github.com/repos/nmiloserdov/queue-flow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nmiloserdov/queue-flow/labels{/name}","releases_url":"https://api.github.com/repos/nmiloserdov/queue-flow/releases{/id}","deployments_url":"https://api.github.com/repos/nmiloserdov/queue-flow/deployments","created_at":"2016-03-13T15:44:13Z","updated_at":"2016-06-06T19:35:10Z","pushed_at":"2016-07-07T12:48:59Z","git_url":"git://github.com/nmiloserdov/queue-flow.git","ssh_url":"git@github.com:nmiloserdov/queue-flow.git","clone_url":"https://github.com/nmiloserdov/queue-flow.git","svn_url":"https://github.com/nmiloserdov/queue-flow","homepage":null,"size":1403,"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/nmiloserdov/queue-flow/pulls/17"},"html":{"href":"https://github.com/nmiloserdov/queue-flow/pull/17"},"issue":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/17"},"comments":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/statuses/5cef6024d525fa43c6fa81e4a674a39db0926748"}}}}
{"actor":{"display_login":"vkurennov"}}