{"action":"created","comment":{"url":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/comments/58359929","id":58359929,"diff_hunk":"@@ -0,0 +1,32 @@\n+require 'rails_helper'\n+\n+feature 'Browse questions list', %q{\n+  In order to find existing question\n+  As an user\n+  I want to be able to browse questions list\n+} do\n+\n+  given(:user) { create(:user) }\n+  let!(:question) { create(:question) }\n+\n+  scenario 'Authorizesed user browses questions list' do\n+    sign_in(user)\n+\n+    visit questions_path\n+\n+    expect(page).to have_content 'Questions list'\n+    expect(page).to have_content 'Ask question'\n+    expect(page).to have_content question.title\n+    expect(page).to have_content question.body\n+  end\n+\n+  scenario 'Non-authorizesed user browses questions list' do\n+    visit questions_path\n+\n+    expect(page).to have_content 'Questions list'\n+    expect(page).to have_content 'Ask question'\n+    expect(page).to have_content question.title","path":"spec/acceptance/browse_quesions_list_spec.rb","position":28,"original_position":28,"commit_id":"b62fe69f15cf76dc98bbe95bb4ecc72c0ced4002","original_commit_id":"b62fe69f15cf76dc98bbe95bb4ecc72c0ced4002","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-04-04T11:10:44Z","updated_at":"2016-04-04T11:10:44Z","html_url":"https://github.com/rubystar1985/HelloWorld/pull/3#discussion_r58359929","pull_request_url":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/comments/58359929"},"html":{"href":"https://github.com/rubystar1985/HelloWorld/pull/3#discussion_r58359929"},"pull_request":{"href":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/3","id":65067148,"html_url":"https://github.com/rubystar1985/HelloWorld/pull/3","diff_url":"https://github.com/rubystar1985/HelloWorld/pull/3.diff","patch_url":"https://github.com/rubystar1985/HelloWorld/pull/3.patch","issue_url":"https://api.github.com/repos/rubystar1985/HelloWorld/issues/3","number":3,"state":"open","locked":false,"title":"Feature/acceptance test sign in","user":{"login":"rubystar1985","id":17885244,"avatar_url":"https://avatars.githubusercontent.com/u/17885244?v=3","gravatar_id":"","url":"https://api.github.com/users/rubystar1985","html_url":"https://github.com/rubystar1985","followers_url":"https://api.github.com/users/rubystar1985/followers","following_url":"https://api.github.com/users/rubystar1985/following{/other_user}","gists_url":"https://api.github.com/users/rubystar1985/gists{/gist_id}","starred_url":"https://api.github.com/users/rubystar1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubystar1985/subscriptions","organizations_url":"https://api.github.com/users/rubystar1985/orgs","repos_url":"https://api.github.com/users/rubystar1985/repos","events_url":"https://api.github.com/users/rubystar1985/events{/privacy}","received_events_url":"https://api.github.com/users/rubystar1985/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-03T12:27:29Z","updated_at":"2016-04-04T11:10:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10b2b89e92fe7a50cf3a9ba424851b4342774c0e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/3/commits","review_comments_url":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/3/comments","review_comment_url":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubystar1985/HelloWorld/issues/3/comments","statuses_url":"https://api.github.com/repos/rubystar1985/HelloWorld/statuses/b62fe69f15cf76dc98bbe95bb4ecc72c0ced4002","head":{"label":"rubystar1985:feature/acceptance-test-sign-in","ref":"feature/acceptance-test-sign-in","sha":"b62fe69f15cf76dc98bbe95bb4ecc72c0ced4002","user":{"login":"rubystar1985","id":17885244,"avatar_url":"https://avatars.githubusercontent.com/u/17885244?v=3","gravatar_id":"","url":"https://api.github.com/users/rubystar1985","html_url":"https://github.com/rubystar1985","followers_url":"https://api.github.com/users/rubystar1985/followers","following_url":"https://api.github.com/users/rubystar1985/following{/other_user}","gists_url":"https://api.github.com/users/rubystar1985/gists{/gist_id}","starred_url":"https://api.github.com/users/rubystar1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubystar1985/subscriptions","organizations_url":"https://api.github.com/users/rubystar1985/orgs","repos_url":"https://api.github.com/users/rubystar1985/repos","events_url":"https://api.github.com/users/rubystar1985/events{/privacy}","received_events_url":"https://api.github.com/users/rubystar1985/received_events","type":"User","site_admin":false},"repo":{"id":54051949,"name":"HelloWorld","full_name":"rubystar1985/HelloWorld","owner":{"login":"rubystar1985","id":17885244,"avatar_url":"https://avatars.githubusercontent.com/u/17885244?v=3","gravatar_id":"","url":"https://api.github.com/users/rubystar1985","html_url":"https://github.com/rubystar1985","followers_url":"https://api.github.com/users/rubystar1985/followers","following_url":"https://api.github.com/users/rubystar1985/following{/other_user}","gists_url":"https://api.github.com/users/rubystar1985/gists{/gist_id}","starred_url":"https://api.github.com/users/rubystar1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubystar1985/subscriptions","organizations_url":"https://api.github.com/users/rubystar1985/orgs","repos_url":"https://api.github.com/users/rubystar1985/repos","events_url":"https://api.github.com/users/rubystar1985/events{/privacy}","received_events_url":"https://api.github.com/users/rubystar1985/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubystar1985/HelloWorld","description":"","fork":false,"url":"https://api.github.com/repos/rubystar1985/HelloWorld","forks_url":"https://api.github.com/repos/rubystar1985/HelloWorld/forks","keys_url":"https://api.github.com/repos/rubystar1985/HelloWorld/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubystar1985/HelloWorld/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubystar1985/HelloWorld/teams","hooks_url":"https://api.github.com/repos/rubystar1985/HelloWorld/hooks","issue_events_url":"https://api.github.com/repos/rubystar1985/HelloWorld/issues/events{/number}","events_url":"https://api.github.com/repos/rubystar1985/HelloWorld/events","assignees_url":"https://api.github.com/repos/rubystar1985/HelloWorld/assignees{/user}","branches_url":"https://api.github.com/repos/rubystar1985/HelloWorld/branches{/branch}","tags_url":"https://api.github.com/repos/rubystar1985/HelloWorld/tags","blobs_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubystar1985/HelloWorld/statuses/{sha}","languages_url":"https://api.github.com/repos/rubystar1985/HelloWorld/languages","stargazers_url":"https://api.github.com/repos/rubystar1985/HelloWorld/stargazers","contributors_url":"https://api.github.com/repos/rubystar1985/HelloWorld/contributors","subscribers_url":"https://api.github.com/repos/rubystar1985/HelloWorld/subscribers","subscription_url":"https://api.github.com/repos/rubystar1985/HelloWorld/subscription","commits_url":"https://api.github.com/repos/rubystar1985/HelloWorld/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubystar1985/HelloWorld/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubystar1985/HelloWorld/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubystar1985/HelloWorld/contents/{+path}","compare_url":"https://api.github.com/repos/rubystar1985/HelloWorld/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubystar1985/HelloWorld/merges","archive_url":"https://api.github.com/repos/rubystar1985/HelloWorld/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubystar1985/HelloWorld/downloads","issues_url":"https://api.github.com/repos/rubystar1985/HelloWorld/issues{/number}","pulls_url":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls{/number}","milestones_url":"https://api.github.com/repos/rubystar1985/HelloWorld/milestones{/number}","notifications_url":"https://api.github.com/repos/rubystar1985/HelloWorld/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubystar1985/HelloWorld/labels{/name}","releases_url":"https://api.github.com/repos/rubystar1985/HelloWorld/releases{/id}","deployments_url":"https://api.github.com/repos/rubystar1985/HelloWorld/deployments","created_at":"2016-03-16T17:17:21Z","updated_at":"2016-03-18T23:26:21Z","pushed_at":"2016-04-03T12:41:36Z","git_url":"git://github.com/rubystar1985/HelloWorld.git","ssh_url":"git@github.com:rubystar1985/HelloWorld.git","clone_url":"https://github.com/rubystar1985/HelloWorld.git","svn_url":"https://github.com/rubystar1985/HelloWorld","homepage":null,"size":58,"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":"rubystar1985:master","ref":"master","sha":"3c4ab61369ab8a57bd73e18f4c159b30b057b522","user":{"login":"rubystar1985","id":17885244,"avatar_url":"https://avatars.githubusercontent.com/u/17885244?v=3","gravatar_id":"","url":"https://api.github.com/users/rubystar1985","html_url":"https://github.com/rubystar1985","followers_url":"https://api.github.com/users/rubystar1985/followers","following_url":"https://api.github.com/users/rubystar1985/following{/other_user}","gists_url":"https://api.github.com/users/rubystar1985/gists{/gist_id}","starred_url":"https://api.github.com/users/rubystar1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubystar1985/subscriptions","organizations_url":"https://api.github.com/users/rubystar1985/orgs","repos_url":"https://api.github.com/users/rubystar1985/repos","events_url":"https://api.github.com/users/rubystar1985/events{/privacy}","received_events_url":"https://api.github.com/users/rubystar1985/received_events","type":"User","site_admin":false},"repo":{"id":54051949,"name":"HelloWorld","full_name":"rubystar1985/HelloWorld","owner":{"login":"rubystar1985","id":17885244,"avatar_url":"https://avatars.githubusercontent.com/u/17885244?v=3","gravatar_id":"","url":"https://api.github.com/users/rubystar1985","html_url":"https://github.com/rubystar1985","followers_url":"https://api.github.com/users/rubystar1985/followers","following_url":"https://api.github.com/users/rubystar1985/following{/other_user}","gists_url":"https://api.github.com/users/rubystar1985/gists{/gist_id}","starred_url":"https://api.github.com/users/rubystar1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubystar1985/subscriptions","organizations_url":"https://api.github.com/users/rubystar1985/orgs","repos_url":"https://api.github.com/users/rubystar1985/repos","events_url":"https://api.github.com/users/rubystar1985/events{/privacy}","received_events_url":"https://api.github.com/users/rubystar1985/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubystar1985/HelloWorld","description":"","fork":false,"url":"https://api.github.com/repos/rubystar1985/HelloWorld","forks_url":"https://api.github.com/repos/rubystar1985/HelloWorld/forks","keys_url":"https://api.github.com/repos/rubystar1985/HelloWorld/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubystar1985/HelloWorld/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubystar1985/HelloWorld/teams","hooks_url":"https://api.github.com/repos/rubystar1985/HelloWorld/hooks","issue_events_url":"https://api.github.com/repos/rubystar1985/HelloWorld/issues/events{/number}","events_url":"https://api.github.com/repos/rubystar1985/HelloWorld/events","assignees_url":"https://api.github.com/repos/rubystar1985/HelloWorld/assignees{/user}","branches_url":"https://api.github.com/repos/rubystar1985/HelloWorld/branches{/branch}","tags_url":"https://api.github.com/repos/rubystar1985/HelloWorld/tags","blobs_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubystar1985/HelloWorld/statuses/{sha}","languages_url":"https://api.github.com/repos/rubystar1985/HelloWorld/languages","stargazers_url":"https://api.github.com/repos/rubystar1985/HelloWorld/stargazers","contributors_url":"https://api.github.com/repos/rubystar1985/HelloWorld/contributors","subscribers_url":"https://api.github.com/repos/rubystar1985/HelloWorld/subscribers","subscription_url":"https://api.github.com/repos/rubystar1985/HelloWorld/subscription","commits_url":"https://api.github.com/repos/rubystar1985/HelloWorld/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubystar1985/HelloWorld/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubystar1985/HelloWorld/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubystar1985/HelloWorld/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubystar1985/HelloWorld/contents/{+path}","compare_url":"https://api.github.com/repos/rubystar1985/HelloWorld/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubystar1985/HelloWorld/merges","archive_url":"https://api.github.com/repos/rubystar1985/HelloWorld/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubystar1985/HelloWorld/downloads","issues_url":"https://api.github.com/repos/rubystar1985/HelloWorld/issues{/number}","pulls_url":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls{/number}","milestones_url":"https://api.github.com/repos/rubystar1985/HelloWorld/milestones{/number}","notifications_url":"https://api.github.com/repos/rubystar1985/HelloWorld/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubystar1985/HelloWorld/labels{/name}","releases_url":"https://api.github.com/repos/rubystar1985/HelloWorld/releases{/id}","deployments_url":"https://api.github.com/repos/rubystar1985/HelloWorld/deployments","created_at":"2016-03-16T17:17:21Z","updated_at":"2016-03-18T23:26:21Z","pushed_at":"2016-04-03T12:41:36Z","git_url":"git://github.com/rubystar1985/HelloWorld.git","ssh_url":"git@github.com:rubystar1985/HelloWorld.git","clone_url":"https://github.com/rubystar1985/HelloWorld.git","svn_url":"https://github.com/rubystar1985/HelloWorld","homepage":null,"size":58,"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/rubystar1985/HelloWorld/pulls/3"},"html":{"href":"https://github.com/rubystar1985/HelloWorld/pull/3"},"issue":{"href":"https://api.github.com/repos/rubystar1985/HelloWorld/issues/3"},"comments":{"href":"https://api.github.com/repos/rubystar1985/HelloWorld/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubystar1985/HelloWorld/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/rubystar1985/HelloWorld/statuses/b62fe69f15cf76dc98bbe95bb4ecc72c0ced4002"}}}}