{"action":"created","comment":{"url":"https://api.github.com/repos/delosiliana/qna/pulls/comments/169068871","pull_request_review_id":97534529,"id":169068871,"diff_hunk":"@@ -0,0 +1,35 @@\n+require 'rails_helper'\n+\n+feature 'Delete answer only author', %q{\n+  In order delete answer\n+  As an authenticated user\n+  I want to delete my answers\n+} do\n+\n+  given(:user) { create :user }\n+  given(:no_author) { create :user }\n+  given(:question) { create :question }\n+  given!(:answer) { create(:answer, user: user, question: question) }\n+\n+\n+  scenario 'To delete answer which is not the author' do","path":"spec/acceptance/delete_answer_spec.rb","position":15,"original_position":15,"commit_id":"074a325ebfd5a81cee975ab5fd3963b1c833f536","original_commit_id":"0d9a6bc6dc11006f59b73aa12a25627e4a89a24e","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-02-19T13:01:56Z","updated_at":"2018-02-19T13:05:55Z","html_url":"https://github.com/delosiliana/qna/pull/3#discussion_r169068871","pull_request_url":"https://api.github.com/repos/delosiliana/qna/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/delosiliana/qna/pulls/comments/169068871"},"html":{"href":"https://github.com/delosiliana/qna/pull/3#discussion_r169068871"},"pull_request":{"href":"https://api.github.com/repos/delosiliana/qna/pulls/3"}},"in_reply_to_id":167033671},"pull_request":{"url":"https://api.github.com/repos/delosiliana/qna/pulls/3","id":168015615,"html_url":"https://github.com/delosiliana/qna/pull/3","diff_url":"https://github.com/delosiliana/qna/pull/3.diff","patch_url":"https://github.com/delosiliana/qna/pull/3.patch","issue_url":"https://api.github.com/repos/delosiliana/qna/issues/3","number":3,"state":"open","locked":false,"title":"Lesson 26","user":{"login":"delosiliana","id":12832230,"avatar_url":"https://avatars1.githubusercontent.com/u/12832230?v=4","gravatar_id":"","url":"https://api.github.com/users/delosiliana","html_url":"https://github.com/delosiliana","followers_url":"https://api.github.com/users/delosiliana/followers","following_url":"https://api.github.com/users/delosiliana/following{/other_user}","gists_url":"https://api.github.com/users/delosiliana/gists{/gist_id}","starred_url":"https://api.github.com/users/delosiliana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delosiliana/subscriptions","organizations_url":"https://api.github.com/users/delosiliana/orgs","repos_url":"https://api.github.com/users/delosiliana/repos","events_url":"https://api.github.com/users/delosiliana/events{/privacy}","received_events_url":"https://api.github.com/users/delosiliana/received_events","type":"User","site_admin":false},"body":"Создала acceptance тесты для вопросов\\ответов\r\nДля создания и удаления. Чтобы удалять мог только пользователь создавший ресурс.\r\nДобавила аутентификацию\r\nПокрыла acceptance тестами вход\\выход\\регистрацию\r\nДобавила просмотр вопросов любому пользователю. ","created_at":"2018-02-08T16:09:06Z","updated_at":"2018-02-19T13:05:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2c9fe78c99e89a7eea120272e4df7239fce29c9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/delosiliana/qna/pulls/3/commits","review_comments_url":"https://api.github.com/repos/delosiliana/qna/pulls/3/comments","review_comment_url":"https://api.github.com/repos/delosiliana/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/delosiliana/qna/issues/3/comments","statuses_url":"https://api.github.com/repos/delosiliana/qna/statuses/074a325ebfd5a81cee975ab5fd3963b1c833f536","head":{"label":"delosiliana:lesson_26","ref":"lesson_26","sha":"074a325ebfd5a81cee975ab5fd3963b1c833f536","user":{"login":"delosiliana","id":12832230,"avatar_url":"https://avatars1.githubusercontent.com/u/12832230?v=4","gravatar_id":"","url":"https://api.github.com/users/delosiliana","html_url":"https://github.com/delosiliana","followers_url":"https://api.github.com/users/delosiliana/followers","following_url":"https://api.github.com/users/delosiliana/following{/other_user}","gists_url":"https://api.github.com/users/delosiliana/gists{/gist_id}","starred_url":"https://api.github.com/users/delosiliana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delosiliana/subscriptions","organizations_url":"https://api.github.com/users/delosiliana/orgs","repos_url":"https://api.github.com/users/delosiliana/repos","events_url":"https://api.github.com/users/delosiliana/events{/privacy}","received_events_url":"https://api.github.com/users/delosiliana/received_events","type":"User","site_admin":false},"repo":{"id":117537417,"name":"qna","full_name":"delosiliana/qna","owner":{"login":"delosiliana","id":12832230,"avatar_url":"https://avatars1.githubusercontent.com/u/12832230?v=4","gravatar_id":"","url":"https://api.github.com/users/delosiliana","html_url":"https://github.com/delosiliana","followers_url":"https://api.github.com/users/delosiliana/followers","following_url":"https://api.github.com/users/delosiliana/following{/other_user}","gists_url":"https://api.github.com/users/delosiliana/gists{/gist_id}","starred_url":"https://api.github.com/users/delosiliana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delosiliana/subscriptions","organizations_url":"https://api.github.com/users/delosiliana/orgs","repos_url":"https://api.github.com/users/delosiliana/repos","events_url":"https://api.github.com/users/delosiliana/events{/privacy}","received_events_url":"https://api.github.com/users/delosiliana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/delosiliana/qna","description":"StackOverflow","fork":false,"url":"https://api.github.com/repos/delosiliana/qna","forks_url":"https://api.github.com/repos/delosiliana/qna/forks","keys_url":"https://api.github.com/repos/delosiliana/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/delosiliana/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/delosiliana/qna/teams","hooks_url":"https://api.github.com/repos/delosiliana/qna/hooks","issue_events_url":"https://api.github.com/repos/delosiliana/qna/issues/events{/number}","events_url":"https://api.github.com/repos/delosiliana/qna/events","assignees_url":"https://api.github.com/repos/delosiliana/qna/assignees{/user}","branches_url":"https://api.github.com/repos/delosiliana/qna/branches{/branch}","tags_url":"https://api.github.com/repos/delosiliana/qna/tags","blobs_url":"https://api.github.com/repos/delosiliana/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/delosiliana/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/delosiliana/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/delosiliana/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/delosiliana/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/delosiliana/qna/languages","stargazers_url":"https://api.github.com/repos/delosiliana/qna/stargazers","contributors_url":"https://api.github.com/repos/delosiliana/qna/contributors","subscribers_url":"https://api.github.com/repos/delosiliana/qna/subscribers","subscription_url":"https://api.github.com/repos/delosiliana/qna/subscription","commits_url":"https://api.github.com/repos/delosiliana/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/delosiliana/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/delosiliana/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/delosiliana/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/delosiliana/qna/contents/{+path}","compare_url":"https://api.github.com/repos/delosiliana/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/delosiliana/qna/merges","archive_url":"https://api.github.com/repos/delosiliana/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/delosiliana/qna/downloads","issues_url":"https://api.github.com/repos/delosiliana/qna/issues{/number}","pulls_url":"https://api.github.com/repos/delosiliana/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/delosiliana/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/delosiliana/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/delosiliana/qna/labels{/name}","releases_url":"https://api.github.com/repos/delosiliana/qna/releases{/id}","deployments_url":"https://api.github.com/repos/delosiliana/qna/deployments","created_at":"2018-01-15T11:34:03Z","updated_at":"2018-01-15T16:20:46Z","pushed_at":"2018-02-19T12:36:49Z","git_url":"git://github.com/delosiliana/qna.git","ssh_url":"git@github.com:delosiliana/qna.git","clone_url":"https://github.com/delosiliana/qna.git","svn_url":"https://github.com/delosiliana/qna","homepage":null,"size":79,"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":"delosiliana:master","ref":"master","sha":"6f0dc26c6fd3d07f23af63ec4f1560e7f0f07bde","user":{"login":"delosiliana","id":12832230,"avatar_url":"https://avatars1.githubusercontent.com/u/12832230?v=4","gravatar_id":"","url":"https://api.github.com/users/delosiliana","html_url":"https://github.com/delosiliana","followers_url":"https://api.github.com/users/delosiliana/followers","following_url":"https://api.github.com/users/delosiliana/following{/other_user}","gists_url":"https://api.github.com/users/delosiliana/gists{/gist_id}","starred_url":"https://api.github.com/users/delosiliana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delosiliana/subscriptions","organizations_url":"https://api.github.com/users/delosiliana/orgs","repos_url":"https://api.github.com/users/delosiliana/repos","events_url":"https://api.github.com/users/delosiliana/events{/privacy}","received_events_url":"https://api.github.com/users/delosiliana/received_events","type":"User","site_admin":false},"repo":{"id":117537417,"name":"qna","full_name":"delosiliana/qna","owner":{"login":"delosiliana","id":12832230,"avatar_url":"https://avatars1.githubusercontent.com/u/12832230?v=4","gravatar_id":"","url":"https://api.github.com/users/delosiliana","html_url":"https://github.com/delosiliana","followers_url":"https://api.github.com/users/delosiliana/followers","following_url":"https://api.github.com/users/delosiliana/following{/other_user}","gists_url":"https://api.github.com/users/delosiliana/gists{/gist_id}","starred_url":"https://api.github.com/users/delosiliana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delosiliana/subscriptions","organizations_url":"https://api.github.com/users/delosiliana/orgs","repos_url":"https://api.github.com/users/delosiliana/repos","events_url":"https://api.github.com/users/delosiliana/events{/privacy}","received_events_url":"https://api.github.com/users/delosiliana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/delosiliana/qna","description":"StackOverflow","fork":false,"url":"https://api.github.com/repos/delosiliana/qna","forks_url":"https://api.github.com/repos/delosiliana/qna/forks","keys_url":"https://api.github.com/repos/delosiliana/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/delosiliana/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/delosiliana/qna/teams","hooks_url":"https://api.github.com/repos/delosiliana/qna/hooks","issue_events_url":"https://api.github.com/repos/delosiliana/qna/issues/events{/number}","events_url":"https://api.github.com/repos/delosiliana/qna/events","assignees_url":"https://api.github.com/repos/delosiliana/qna/assignees{/user}","branches_url":"https://api.github.com/repos/delosiliana/qna/branches{/branch}","tags_url":"https://api.github.com/repos/delosiliana/qna/tags","blobs_url":"https://api.github.com/repos/delosiliana/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/delosiliana/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/delosiliana/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/delosiliana/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/delosiliana/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/delosiliana/qna/languages","stargazers_url":"https://api.github.com/repos/delosiliana/qna/stargazers","contributors_url":"https://api.github.com/repos/delosiliana/qna/contributors","subscribers_url":"https://api.github.com/repos/delosiliana/qna/subscribers","subscription_url":"https://api.github.com/repos/delosiliana/qna/subscription","commits_url":"https://api.github.com/repos/delosiliana/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/delosiliana/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/delosiliana/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/delosiliana/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/delosiliana/qna/contents/{+path}","compare_url":"https://api.github.com/repos/delosiliana/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/delosiliana/qna/merges","archive_url":"https://api.github.com/repos/delosiliana/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/delosiliana/qna/downloads","issues_url":"https://api.github.com/repos/delosiliana/qna/issues{/number}","pulls_url":"https://api.github.com/repos/delosiliana/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/delosiliana/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/delosiliana/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/delosiliana/qna/labels{/name}","releases_url":"https://api.github.com/repos/delosiliana/qna/releases{/id}","deployments_url":"https://api.github.com/repos/delosiliana/qna/deployments","created_at":"2018-01-15T11:34:03Z","updated_at":"2018-01-15T16:20:46Z","pushed_at":"2018-02-19T12:36:49Z","git_url":"git://github.com/delosiliana/qna.git","ssh_url":"git@github.com:delosiliana/qna.git","clone_url":"https://github.com/delosiliana/qna.git","svn_url":"https://github.com/delosiliana/qna","homepage":null,"size":79,"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/delosiliana/qna/pulls/3"},"html":{"href":"https://github.com/delosiliana/qna/pull/3"},"issue":{"href":"https://api.github.com/repos/delosiliana/qna/issues/3"},"comments":{"href":"https://api.github.com/repos/delosiliana/qna/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/delosiliana/qna/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/delosiliana/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/delosiliana/qna/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/delosiliana/qna/statuses/074a325ebfd5a81cee975ab5fd3963b1c833f536"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vkurennov"}}