{"action":"created","comment":{"url":"https://api.github.com/repos/Siansor/club/pulls/comments/29240269","id":29240269,"diff_hunk":"@@ -0,0 +1,21 @@\n+require 'rails_helper'\n+\n+feature 'List with Question', %q{\n+  Use can sign in and\n+  Authenticated user can see list question\n+  Non-Authenticated user cant wee list with question\n+} do\n+\n+  given(:user) {create(:user)}\n+\n+  scenario 'Authenticated user can see list question' do\n+    sign_in(user)\n+\n+    create_question\n+    visit questions_path\n+\n+    find_link('Show').visible?","path":"spec/acceptance/question/list_with_questions_spec.rb","position":17,"original_position":17,"commit_id":"dbb950d58c2f55074f35cac15d0b020ca9f4e7f1","original_commit_id":"dbb950d58c2f55074f35cac15d0b020ca9f4e7f1","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":"2015-04-28T13:12:52Z","updated_at":"2015-04-28T13:12:52Z","html_url":"https://github.com/Siansor/club/pull/4#discussion_r29240269","pull_request_url":"https://api.github.com/repos/Siansor/club/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/Siansor/club/pulls/comments/29240269"},"html":{"href":"https://github.com/Siansor/club/pull/4#discussion_r29240269"},"pull_request":{"href":"https://api.github.com/repos/Siansor/club/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Siansor/club/pulls/4","id":34248724,"html_url":"https://github.com/Siansor/club/pull/4","diff_url":"https://github.com/Siansor/club/pull/4.diff","patch_url":"https://github.com/Siansor/club/pull/4.patch","issue_url":"https://api.github.com/repos/Siansor/club/issues/4","number":4,"state":"open","locked":false,"title":"Lesson5","user":{"login":"Siansor","id":41966,"avatar_url":"https://avatars.githubusercontent.com/u/41966?v=3","gravatar_id":"","url":"https://api.github.com/users/Siansor","html_url":"https://github.com/Siansor","followers_url":"https://api.github.com/users/Siansor/followers","following_url":"https://api.github.com/users/Siansor/following{/other_user}","gists_url":"https://api.github.com/users/Siansor/gists{/gist_id}","starred_url":"https://api.github.com/users/Siansor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siansor/subscriptions","organizations_url":"https://api.github.com/users/Siansor/orgs","repos_url":"https://api.github.com/users/Siansor/repos","events_url":"https://api.github.com/users/Siansor/events{/privacy}","received_events_url":"https://api.github.com/users/Siansor/received_events","type":"User","site_admin":false},"body":"Обновил файлы. И сделать еще раз пул-реквест. ","created_at":"2015-04-28T09:35:17Z","updated_at":"2015-04-28T13:12:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d71ed038f1178e072ab69b319046587837931332","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Siansor/club/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Siansor/club/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Siansor/club/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Siansor/club/issues/4/comments","statuses_url":"https://api.github.com/repos/Siansor/club/statuses/dbb950d58c2f55074f35cac15d0b020ca9f4e7f1","head":{"label":"Siansor:lesson5","ref":"lesson5","sha":"dbb950d58c2f55074f35cac15d0b020ca9f4e7f1","user":{"login":"Siansor","id":41966,"avatar_url":"https://avatars.githubusercontent.com/u/41966?v=3","gravatar_id":"","url":"https://api.github.com/users/Siansor","html_url":"https://github.com/Siansor","followers_url":"https://api.github.com/users/Siansor/followers","following_url":"https://api.github.com/users/Siansor/following{/other_user}","gists_url":"https://api.github.com/users/Siansor/gists{/gist_id}","starred_url":"https://api.github.com/users/Siansor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siansor/subscriptions","organizations_url":"https://api.github.com/users/Siansor/orgs","repos_url":"https://api.github.com/users/Siansor/repos","events_url":"https://api.github.com/users/Siansor/events{/privacy}","received_events_url":"https://api.github.com/users/Siansor/received_events","type":"User","site_admin":false},"repo":{"id":32333946,"name":"club","full_name":"Siansor/club","owner":{"login":"Siansor","id":41966,"avatar_url":"https://avatars.githubusercontent.com/u/41966?v=3","gravatar_id":"","url":"https://api.github.com/users/Siansor","html_url":"https://github.com/Siansor","followers_url":"https://api.github.com/users/Siansor/followers","following_url":"https://api.github.com/users/Siansor/following{/other_user}","gists_url":"https://api.github.com/users/Siansor/gists{/gist_id}","starred_url":"https://api.github.com/users/Siansor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siansor/subscriptions","organizations_url":"https://api.github.com/users/Siansor/orgs","repos_url":"https://api.github.com/users/Siansor/repos","events_url":"https://api.github.com/users/Siansor/events{/privacy}","received_events_url":"https://api.github.com/users/Siansor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Siansor/club","description":"","fork":false,"url":"https://api.github.com/repos/Siansor/club","forks_url":"https://api.github.com/repos/Siansor/club/forks","keys_url":"https://api.github.com/repos/Siansor/club/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Siansor/club/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Siansor/club/teams","hooks_url":"https://api.github.com/repos/Siansor/club/hooks","issue_events_url":"https://api.github.com/repos/Siansor/club/issues/events{/number}","events_url":"https://api.github.com/repos/Siansor/club/events","assignees_url":"https://api.github.com/repos/Siansor/club/assignees{/user}","branches_url":"https://api.github.com/repos/Siansor/club/branches{/branch}","tags_url":"https://api.github.com/repos/Siansor/club/tags","blobs_url":"https://api.github.com/repos/Siansor/club/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Siansor/club/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Siansor/club/git/refs{/sha}","trees_url":"https://api.github.com/repos/Siansor/club/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Siansor/club/statuses/{sha}","languages_url":"https://api.github.com/repos/Siansor/club/languages","stargazers_url":"https://api.github.com/repos/Siansor/club/stargazers","contributors_url":"https://api.github.com/repos/Siansor/club/contributors","subscribers_url":"https://api.github.com/repos/Siansor/club/subscribers","subscription_url":"https://api.github.com/repos/Siansor/club/subscription","commits_url":"https://api.github.com/repos/Siansor/club/commits{/sha}","git_commits_url":"https://api.github.com/repos/Siansor/club/git/commits{/sha}","comments_url":"https://api.github.com/repos/Siansor/club/comments{/number}","issue_comment_url":"https://api.github.com/repos/Siansor/club/issues/comments{/number}","contents_url":"https://api.github.com/repos/Siansor/club/contents/{+path}","compare_url":"https://api.github.com/repos/Siansor/club/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Siansor/club/merges","archive_url":"https://api.github.com/repos/Siansor/club/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Siansor/club/downloads","issues_url":"https://api.github.com/repos/Siansor/club/issues{/number}","pulls_url":"https://api.github.com/repos/Siansor/club/pulls{/number}","milestones_url":"https://api.github.com/repos/Siansor/club/milestones{/number}","notifications_url":"https://api.github.com/repos/Siansor/club/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Siansor/club/labels{/name}","releases_url":"https://api.github.com/repos/Siansor/club/releases{/id}","created_at":"2015-03-16T15:20:46Z","updated_at":"2015-04-18T13:31:59Z","pushed_at":"2015-04-28T09:35:17Z","git_url":"git://github.com/Siansor/club.git","ssh_url":"git@github.com:Siansor/club.git","clone_url":"https://github.com/Siansor/club.git","svn_url":"https://github.com/Siansor/club","homepage":null,"size":336,"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":"Siansor:git@github.com/Siansor/club/tree/lesson4","ref":"git@github.com/Siansor/club/tree/lesson4","sha":"fdc210a0390ebf7d7a4aa59530b2f9a64a14f52e","user":{"login":"Siansor","id":41966,"avatar_url":"https://avatars.githubusercontent.com/u/41966?v=3","gravatar_id":"","url":"https://api.github.com/users/Siansor","html_url":"https://github.com/Siansor","followers_url":"https://api.github.com/users/Siansor/followers","following_url":"https://api.github.com/users/Siansor/following{/other_user}","gists_url":"https://api.github.com/users/Siansor/gists{/gist_id}","starred_url":"https://api.github.com/users/Siansor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siansor/subscriptions","organizations_url":"https://api.github.com/users/Siansor/orgs","repos_url":"https://api.github.com/users/Siansor/repos","events_url":"https://api.github.com/users/Siansor/events{/privacy}","received_events_url":"https://api.github.com/users/Siansor/received_events","type":"User","site_admin":false},"repo":{"id":32333946,"name":"club","full_name":"Siansor/club","owner":{"login":"Siansor","id":41966,"avatar_url":"https://avatars.githubusercontent.com/u/41966?v=3","gravatar_id":"","url":"https://api.github.com/users/Siansor","html_url":"https://github.com/Siansor","followers_url":"https://api.github.com/users/Siansor/followers","following_url":"https://api.github.com/users/Siansor/following{/other_user}","gists_url":"https://api.github.com/users/Siansor/gists{/gist_id}","starred_url":"https://api.github.com/users/Siansor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siansor/subscriptions","organizations_url":"https://api.github.com/users/Siansor/orgs","repos_url":"https://api.github.com/users/Siansor/repos","events_url":"https://api.github.com/users/Siansor/events{/privacy}","received_events_url":"https://api.github.com/users/Siansor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Siansor/club","description":"","fork":false,"url":"https://api.github.com/repos/Siansor/club","forks_url":"https://api.github.com/repos/Siansor/club/forks","keys_url":"https://api.github.com/repos/Siansor/club/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Siansor/club/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Siansor/club/teams","hooks_url":"https://api.github.com/repos/Siansor/club/hooks","issue_events_url":"https://api.github.com/repos/Siansor/club/issues/events{/number}","events_url":"https://api.github.com/repos/Siansor/club/events","assignees_url":"https://api.github.com/repos/Siansor/club/assignees{/user}","branches_url":"https://api.github.com/repos/Siansor/club/branches{/branch}","tags_url":"https://api.github.com/repos/Siansor/club/tags","blobs_url":"https://api.github.com/repos/Siansor/club/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Siansor/club/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Siansor/club/git/refs{/sha}","trees_url":"https://api.github.com/repos/Siansor/club/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Siansor/club/statuses/{sha}","languages_url":"https://api.github.com/repos/Siansor/club/languages","stargazers_url":"https://api.github.com/repos/Siansor/club/stargazers","contributors_url":"https://api.github.com/repos/Siansor/club/contributors","subscribers_url":"https://api.github.com/repos/Siansor/club/subscribers","subscription_url":"https://api.github.com/repos/Siansor/club/subscription","commits_url":"https://api.github.com/repos/Siansor/club/commits{/sha}","git_commits_url":"https://api.github.com/repos/Siansor/club/git/commits{/sha}","comments_url":"https://api.github.com/repos/Siansor/club/comments{/number}","issue_comment_url":"https://api.github.com/repos/Siansor/club/issues/comments{/number}","contents_url":"https://api.github.com/repos/Siansor/club/contents/{+path}","compare_url":"https://api.github.com/repos/Siansor/club/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Siansor/club/merges","archive_url":"https://api.github.com/repos/Siansor/club/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Siansor/club/downloads","issues_url":"https://api.github.com/repos/Siansor/club/issues{/number}","pulls_url":"https://api.github.com/repos/Siansor/club/pulls{/number}","milestones_url":"https://api.github.com/repos/Siansor/club/milestones{/number}","notifications_url":"https://api.github.com/repos/Siansor/club/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Siansor/club/labels{/name}","releases_url":"https://api.github.com/repos/Siansor/club/releases{/id}","created_at":"2015-03-16T15:20:46Z","updated_at":"2015-04-18T13:31:59Z","pushed_at":"2015-04-28T09:35:17Z","git_url":"git://github.com/Siansor/club.git","ssh_url":"git@github.com:Siansor/club.git","clone_url":"https://github.com/Siansor/club.git","svn_url":"https://github.com/Siansor/club","homepage":null,"size":336,"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/Siansor/club/pulls/4"},"html":{"href":"https://github.com/Siansor/club/pull/4"},"issue":{"href":"https://api.github.com/repos/Siansor/club/issues/4"},"comments":{"href":"https://api.github.com/repos/Siansor/club/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Siansor/club/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Siansor/club/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Siansor/club/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Siansor/club/statuses/dbb950d58c2f55074f35cac15d0b020ca9f4e7f1"}}}}