{"action":"created","comment":{"url":"https://api.github.com/repos/Nikoniym/qna/pulls/comments/190171447","pull_request_review_id":122487012,"id":190171447,"diff_hunk":"@@ -41,14 +19,15 @@\n   end\n \n   describe 'POST #create' do\n+    sign_in_user\n     context 'with valid attributes' do","path":"spec/controllers/answers_controller_spec.rb","position":44,"original_position":44,"commit_id":"0127e02fb59350c581aaaeaf3f0c447f3c174440","original_commit_id":"0127e02fb59350c581aaaeaf3f0c447f3c174440","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars3.githubusercontent.com/u/968537?v=4","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":"2018-05-23T08:58:44Z","updated_at":"2018-05-23T08:59:40Z","html_url":"https://github.com/Nikoniym/qna/pull/3#discussion_r190171447","pull_request_url":"https://api.github.com/repos/Nikoniym/qna/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Nikoniym/qna/pulls/comments/190171447"},"html":{"href":"https://github.com/Nikoniym/qna/pull/3#discussion_r190171447"},"pull_request":{"href":"https://api.github.com/repos/Nikoniym/qna/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Nikoniym/qna/pulls/3","id":189845364,"html_url":"https://github.com/Nikoniym/qna/pull/3","diff_url":"https://github.com/Nikoniym/qna/pull/3.diff","patch_url":"https://github.com/Nikoniym/qna/pull/3.patch","issue_url":"https://api.github.com/repos/Nikoniym/qna/issues/3","number":3,"state":"open","locked":false,"title":"Part 5","user":{"login":"Nikoniym","id":22825814,"avatar_url":"https://avatars2.githubusercontent.com/u/22825814?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikoniym","html_url":"https://github.com/Nikoniym","followers_url":"https://api.github.com/users/Nikoniym/followers","following_url":"https://api.github.com/users/Nikoniym/following{/other_user}","gists_url":"https://api.github.com/users/Nikoniym/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikoniym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikoniym/subscriptions","organizations_url":"https://api.github.com/users/Nikoniym/orgs","repos_url":"https://api.github.com/users/Nikoniym/repos","events_url":"https://api.github.com/users/Nikoniym/events{/privacy}","received_events_url":"https://api.github.com/users/Nikoniym/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-23T03:11:36Z","updated_at":"2018-05-23T08:59:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44e121afe6384d64d1d696b596ab53bdf867466e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Nikoniym/qna/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Nikoniym/qna/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Nikoniym/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nikoniym/qna/issues/3/comments","statuses_url":"https://api.github.com/repos/Nikoniym/qna/statuses/0127e02fb59350c581aaaeaf3f0c447f3c174440","head":{"label":"Nikoniym:part_5","ref":"part_5","sha":"0127e02fb59350c581aaaeaf3f0c447f3c174440","user":{"login":"Nikoniym","id":22825814,"avatar_url":"https://avatars2.githubusercontent.com/u/22825814?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikoniym","html_url":"https://github.com/Nikoniym","followers_url":"https://api.github.com/users/Nikoniym/followers","following_url":"https://api.github.com/users/Nikoniym/following{/other_user}","gists_url":"https://api.github.com/users/Nikoniym/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikoniym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikoniym/subscriptions","organizations_url":"https://api.github.com/users/Nikoniym/orgs","repos_url":"https://api.github.com/users/Nikoniym/repos","events_url":"https://api.github.com/users/Nikoniym/events{/privacy}","received_events_url":"https://api.github.com/users/Nikoniym/received_events","type":"User","site_admin":false},"repo":{"id":134086647,"name":"qna","full_name":"Nikoniym/qna","owner":{"login":"Nikoniym","id":22825814,"avatar_url":"https://avatars2.githubusercontent.com/u/22825814?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikoniym","html_url":"https://github.com/Nikoniym","followers_url":"https://api.github.com/users/Nikoniym/followers","following_url":"https://api.github.com/users/Nikoniym/following{/other_user}","gists_url":"https://api.github.com/users/Nikoniym/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikoniym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikoniym/subscriptions","organizations_url":"https://api.github.com/users/Nikoniym/orgs","repos_url":"https://api.github.com/users/Nikoniym/repos","events_url":"https://api.github.com/users/Nikoniym/events{/privacy}","received_events_url":"https://api.github.com/users/Nikoniym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nikoniym/qna","description":null,"fork":false,"url":"https://api.github.com/repos/Nikoniym/qna","forks_url":"https://api.github.com/repos/Nikoniym/qna/forks","keys_url":"https://api.github.com/repos/Nikoniym/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nikoniym/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nikoniym/qna/teams","hooks_url":"https://api.github.com/repos/Nikoniym/qna/hooks","issue_events_url":"https://api.github.com/repos/Nikoniym/qna/issues/events{/number}","events_url":"https://api.github.com/repos/Nikoniym/qna/events","assignees_url":"https://api.github.com/repos/Nikoniym/qna/assignees{/user}","branches_url":"https://api.github.com/repos/Nikoniym/qna/branches{/branch}","tags_url":"https://api.github.com/repos/Nikoniym/qna/tags","blobs_url":"https://api.github.com/repos/Nikoniym/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nikoniym/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nikoniym/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nikoniym/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nikoniym/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/Nikoniym/qna/languages","stargazers_url":"https://api.github.com/repos/Nikoniym/qna/stargazers","contributors_url":"https://api.github.com/repos/Nikoniym/qna/contributors","subscribers_url":"https://api.github.com/repos/Nikoniym/qna/subscribers","subscription_url":"https://api.github.com/repos/Nikoniym/qna/subscription","commits_url":"https://api.github.com/repos/Nikoniym/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nikoniym/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nikoniym/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nikoniym/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nikoniym/qna/contents/{+path}","compare_url":"https://api.github.com/repos/Nikoniym/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nikoniym/qna/merges","archive_url":"https://api.github.com/repos/Nikoniym/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nikoniym/qna/downloads","issues_url":"https://api.github.com/repos/Nikoniym/qna/issues{/number}","pulls_url":"https://api.github.com/repos/Nikoniym/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/Nikoniym/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/Nikoniym/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nikoniym/qna/labels{/name}","releases_url":"https://api.github.com/repos/Nikoniym/qna/releases{/id}","deployments_url":"https://api.github.com/repos/Nikoniym/qna/deployments","created_at":"2018-05-19T18:08:45Z","updated_at":"2018-05-22T13:53:05Z","pushed_at":"2018-05-23T03:11:37Z","git_url":"git://github.com/Nikoniym/qna.git","ssh_url":"git@github.com:Nikoniym/qna.git","clone_url":"https://github.com/Nikoniym/qna.git","svn_url":"https://github.com/Nikoniym/qna","homepage":null,"size":83,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Nikoniym:master","ref":"master","sha":"5483545f6cbc23c26a87f9c6825201becd3a993f","user":{"login":"Nikoniym","id":22825814,"avatar_url":"https://avatars2.githubusercontent.com/u/22825814?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikoniym","html_url":"https://github.com/Nikoniym","followers_url":"https://api.github.com/users/Nikoniym/followers","following_url":"https://api.github.com/users/Nikoniym/following{/other_user}","gists_url":"https://api.github.com/users/Nikoniym/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikoniym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikoniym/subscriptions","organizations_url":"https://api.github.com/users/Nikoniym/orgs","repos_url":"https://api.github.com/users/Nikoniym/repos","events_url":"https://api.github.com/users/Nikoniym/events{/privacy}","received_events_url":"https://api.github.com/users/Nikoniym/received_events","type":"User","site_admin":false},"repo":{"id":134086647,"name":"qna","full_name":"Nikoniym/qna","owner":{"login":"Nikoniym","id":22825814,"avatar_url":"https://avatars2.githubusercontent.com/u/22825814?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikoniym","html_url":"https://github.com/Nikoniym","followers_url":"https://api.github.com/users/Nikoniym/followers","following_url":"https://api.github.com/users/Nikoniym/following{/other_user}","gists_url":"https://api.github.com/users/Nikoniym/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikoniym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikoniym/subscriptions","organizations_url":"https://api.github.com/users/Nikoniym/orgs","repos_url":"https://api.github.com/users/Nikoniym/repos","events_url":"https://api.github.com/users/Nikoniym/events{/privacy}","received_events_url":"https://api.github.com/users/Nikoniym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nikoniym/qna","description":null,"fork":false,"url":"https://api.github.com/repos/Nikoniym/qna","forks_url":"https://api.github.com/repos/Nikoniym/qna/forks","keys_url":"https://api.github.com/repos/Nikoniym/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nikoniym/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nikoniym/qna/teams","hooks_url":"https://api.github.com/repos/Nikoniym/qna/hooks","issue_events_url":"https://api.github.com/repos/Nikoniym/qna/issues/events{/number}","events_url":"https://api.github.com/repos/Nikoniym/qna/events","assignees_url":"https://api.github.com/repos/Nikoniym/qna/assignees{/user}","branches_url":"https://api.github.com/repos/Nikoniym/qna/branches{/branch}","tags_url":"https://api.github.com/repos/Nikoniym/qna/tags","blobs_url":"https://api.github.com/repos/Nikoniym/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nikoniym/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nikoniym/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nikoniym/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nikoniym/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/Nikoniym/qna/languages","stargazers_url":"https://api.github.com/repos/Nikoniym/qna/stargazers","contributors_url":"https://api.github.com/repos/Nikoniym/qna/contributors","subscribers_url":"https://api.github.com/repos/Nikoniym/qna/subscribers","subscription_url":"https://api.github.com/repos/Nikoniym/qna/subscription","commits_url":"https://api.github.com/repos/Nikoniym/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nikoniym/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nikoniym/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nikoniym/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nikoniym/qna/contents/{+path}","compare_url":"https://api.github.com/repos/Nikoniym/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nikoniym/qna/merges","archive_url":"https://api.github.com/repos/Nikoniym/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nikoniym/qna/downloads","issues_url":"https://api.github.com/repos/Nikoniym/qna/issues{/number}","pulls_url":"https://api.github.com/repos/Nikoniym/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/Nikoniym/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/Nikoniym/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nikoniym/qna/labels{/name}","releases_url":"https://api.github.com/repos/Nikoniym/qna/releases{/id}","deployments_url":"https://api.github.com/repos/Nikoniym/qna/deployments","created_at":"2018-05-19T18:08:45Z","updated_at":"2018-05-22T13:53:05Z","pushed_at":"2018-05-23T03:11:37Z","git_url":"git://github.com/Nikoniym/qna.git","ssh_url":"git@github.com:Nikoniym/qna.git","clone_url":"https://github.com/Nikoniym/qna.git","svn_url":"https://github.com/Nikoniym/qna","homepage":null,"size":83,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Nikoniym/qna/pulls/3"},"html":{"href":"https://github.com/Nikoniym/qna/pull/3"},"issue":{"href":"https://api.github.com/repos/Nikoniym/qna/issues/3"},"comments":{"href":"https://api.github.com/repos/Nikoniym/qna/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Nikoniym/qna/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Nikoniym/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nikoniym/qna/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Nikoniym/qna/statuses/0127e02fb59350c581aaaeaf3f0c447f3c174440"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vkurennov"}}