{"action":"created","comment":{"url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/comments/56858518","id":56858518,"diff_hunk":"@@ -0,0 +1,33 @@\n+require 'rails_helper'\n+\n+feature 'User can brouse question', %q{\n+  Non-authenticated User can browse questions\n+  } do\n+   \n+  \n+  scenario 'user browse questions#index' do\n+\n+    3.times { Question.create( attributes_for :question) }\n+  \n+    visit questions_path\n+  \n+    expect(page.all('div.title-question').count).to eq 3","path":"spec/features/question/browse_question_spec.rb","position":14,"original_position":14,"commit_id":"09d2c5778f8cd23ff93e078b8f4b8e107b1f9d65","original_commit_id":"09d2c5778f8cd23ff93e078b8f4b8e107b1f9d65","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":"Проверять теги не очень хорошо. Верстка может измениться, и тесты упадут. Acceptance-тесты должны быть максимально \"человековоспроизводимыми\". Представь, что ты пишешь тест для ручного тестирования, ты же не напишешь \"добавь 2 вопроса и проверь, что на странице появилось 2 таких-то тега\". Теги не важны, важно, что на странице есть контент.\r\n\r\nПоэтому, сделай 3 уникальных ответа и проверь, что каждый из них есть на странице.","created_at":"2016-03-21T17:03:17Z","updated_at":"2016-03-21T17:03:17Z","html_url":"https://github.com/nmiloserdov/queue-flow/pull/3#discussion_r56858518","pull_request_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/comments/56858518"},"html":{"href":"https://github.com/nmiloserdov/queue-flow/pull/3#discussion_r56858518"},"pull_request":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/3","id":63575957,"html_url":"https://github.com/nmiloserdov/queue-flow/pull/3","diff_url":"https://github.com/nmiloserdov/queue-flow/pull/3.diff","patch_url":"https://github.com/nmiloserdov/queue-flow/pull/3.patch","issue_url":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/3","number":3,"state":"open","locked":false,"title":"Feature sign in out","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-03-21T14:52:39Z","updated_at":"2016-03-21T17:03:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09d6276d68076f0efb4400ddcafbb7fa7d957afe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/3/commits","review_comments_url":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/3/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/3/comments","statuses_url":"https://api.github.com/repos/nmiloserdov/queue-flow/statuses/09d2c5778f8cd23ff93e078b8f4b8e107b1f9d65","head":{"label":"nmiloserdov:feature-sign-in-out","ref":"feature-sign-in-out","sha":"09d2c5778f8cd23ff93e078b8f4b8e107b1f9d65","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-03-13T15:48:22Z","pushed_at":"2016-03-21T14:52:40Z","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":107,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nmiloserdov:master","ref":"master","sha":"a5107354b4c84eb63aae659521446a3c38471c6b","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-03-13T15:48:22Z","pushed_at":"2016-03-21T14:52:40Z","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":107,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/3"},"html":{"href":"https://github.com/nmiloserdov/queue-flow/pull/3"},"issue":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/3"},"comments":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/pulls/3/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/3/commits"},"statuses":{"href":"https://api.github.com/repos/nmiloserdov/queue-flow/statuses/09d2c5778f8cd23ff93e078b8f4b8e107b1f9d65"}}}}