{"action":"created","comment":{"url":"https://api.github.com/repos/dimarikpro/qna2/pulls/comments/32756597","id":32756597,"diff_hunk":"@@ -0,0 +1,2 @@\n+$('.answers').html('<%= j render 'questions/answer', locals: {answer: @answer} %>');","path":"app/views/answers/create.js.erb","position":1,"original_position":1,"commit_id":"85dda492277ec94594baba3130a4d5d00c43201c","original_commit_id":"85dda492277ec94594baba3130a4d5d00c43201c","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"body":"А теперь добавт следующий тест:\r\n- дан вопрос с одним ответом;\r\n- пользователь добавляет новый ответ;\r\n- проверяем, что текст старого ответа есть на странице и тексто нового ответа есть на странице.\r\n\r\nДанный тест сейчас не пройдет, так как старые ответы удалятся.","created_at":"2015-06-18T17:40:33Z","updated_at":"2015-06-18T17:40:33Z","html_url":"https://github.com/dimarikpro/qna2/pull/3#discussion_r32756597","pull_request_url":"https://api.github.com/repos/dimarikpro/qna2/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/dimarikpro/qna2/pulls/comments/32756597"},"html":{"href":"https://github.com/dimarikpro/qna2/pull/3#discussion_r32756597"},"pull_request":{"href":"https://api.github.com/repos/dimarikpro/qna2/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/dimarikpro/qna2/pulls/3","id":37919365,"html_url":"https://github.com/dimarikpro/qna2/pull/3","diff_url":"https://github.com/dimarikpro/qna2/pull/3.diff","patch_url":"https://github.com/dimarikpro/qna2/pull/3.patch","issue_url":"https://api.github.com/repos/dimarikpro/qna2/issues/3","number":3,"state":"open","locked":false,"title":"lesson 6 (1 unknown error)","user":{"login":"dimarikpro","id":5265647,"avatar_url":"https://avatars.githubusercontent.com/u/5265647?v=3","gravatar_id":"","url":"https://api.github.com/users/dimarikpro","html_url":"https://github.com/dimarikpro","followers_url":"https://api.github.com/users/dimarikpro/followers","following_url":"https://api.github.com/users/dimarikpro/following{/other_user}","gists_url":"https://api.github.com/users/dimarikpro/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarikpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarikpro/subscriptions","organizations_url":"https://api.github.com/users/dimarikpro/orgs","repos_url":"https://api.github.com/users/dimarikpro/repos","events_url":"https://api.github.com/users/dimarikpro/events{/privacy}","received_events_url":"https://api.github.com/users/dimarikpro/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-17T16:19:59Z","updated_at":"2015-06-18T17:40:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fc914fdd644374a68156cd5d567c85efe21b7c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dimarikpro/qna2/pulls/3/commits","review_comments_url":"https://api.github.com/repos/dimarikpro/qna2/pulls/3/comments","review_comment_url":"https://api.github.com/repos/dimarikpro/qna2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimarikpro/qna2/issues/3/comments","statuses_url":"https://api.github.com/repos/dimarikpro/qna2/statuses/85dda492277ec94594baba3130a4d5d00c43201c","head":{"label":"dimarikpro:lesson6","ref":"lesson6","sha":"85dda492277ec94594baba3130a4d5d00c43201c","user":{"login":"dimarikpro","id":5265647,"avatar_url":"https://avatars.githubusercontent.com/u/5265647?v=3","gravatar_id":"","url":"https://api.github.com/users/dimarikpro","html_url":"https://github.com/dimarikpro","followers_url":"https://api.github.com/users/dimarikpro/followers","following_url":"https://api.github.com/users/dimarikpro/following{/other_user}","gists_url":"https://api.github.com/users/dimarikpro/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarikpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarikpro/subscriptions","organizations_url":"https://api.github.com/users/dimarikpro/orgs","repos_url":"https://api.github.com/users/dimarikpro/repos","events_url":"https://api.github.com/users/dimarikpro/events{/privacy}","received_events_url":"https://api.github.com/users/dimarikpro/received_events","type":"User","site_admin":false},"repo":{"id":36830241,"name":"qna2","full_name":"dimarikpro/qna2","owner":{"login":"dimarikpro","id":5265647,"avatar_url":"https://avatars.githubusercontent.com/u/5265647?v=3","gravatar_id":"","url":"https://api.github.com/users/dimarikpro","html_url":"https://github.com/dimarikpro","followers_url":"https://api.github.com/users/dimarikpro/followers","following_url":"https://api.github.com/users/dimarikpro/following{/other_user}","gists_url":"https://api.github.com/users/dimarikpro/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarikpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarikpro/subscriptions","organizations_url":"https://api.github.com/users/dimarikpro/orgs","repos_url":"https://api.github.com/users/dimarikpro/repos","events_url":"https://api.github.com/users/dimarikpro/events{/privacy}","received_events_url":"https://api.github.com/users/dimarikpro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimarikpro/qna2","description":"","fork":false,"url":"https://api.github.com/repos/dimarikpro/qna2","forks_url":"https://api.github.com/repos/dimarikpro/qna2/forks","keys_url":"https://api.github.com/repos/dimarikpro/qna2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimarikpro/qna2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimarikpro/qna2/teams","hooks_url":"https://api.github.com/repos/dimarikpro/qna2/hooks","issue_events_url":"https://api.github.com/repos/dimarikpro/qna2/issues/events{/number}","events_url":"https://api.github.com/repos/dimarikpro/qna2/events","assignees_url":"https://api.github.com/repos/dimarikpro/qna2/assignees{/user}","branches_url":"https://api.github.com/repos/dimarikpro/qna2/branches{/branch}","tags_url":"https://api.github.com/repos/dimarikpro/qna2/tags","blobs_url":"https://api.github.com/repos/dimarikpro/qna2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimarikpro/qna2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimarikpro/qna2/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimarikpro/qna2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimarikpro/qna2/statuses/{sha}","languages_url":"https://api.github.com/repos/dimarikpro/qna2/languages","stargazers_url":"https://api.github.com/repos/dimarikpro/qna2/stargazers","contributors_url":"https://api.github.com/repos/dimarikpro/qna2/contributors","subscribers_url":"https://api.github.com/repos/dimarikpro/qna2/subscribers","subscription_url":"https://api.github.com/repos/dimarikpro/qna2/subscription","commits_url":"https://api.github.com/repos/dimarikpro/qna2/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimarikpro/qna2/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimarikpro/qna2/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimarikpro/qna2/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimarikpro/qna2/contents/{+path}","compare_url":"https://api.github.com/repos/dimarikpro/qna2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimarikpro/qna2/merges","archive_url":"https://api.github.com/repos/dimarikpro/qna2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimarikpro/qna2/downloads","issues_url":"https://api.github.com/repos/dimarikpro/qna2/issues{/number}","pulls_url":"https://api.github.com/repos/dimarikpro/qna2/pulls{/number}","milestones_url":"https://api.github.com/repos/dimarikpro/qna2/milestones{/number}","notifications_url":"https://api.github.com/repos/dimarikpro/qna2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimarikpro/qna2/labels{/name}","releases_url":"https://api.github.com/repos/dimarikpro/qna2/releases{/id}","created_at":"2015-06-03T20:58:57Z","updated_at":"2015-06-16T06:18:32Z","pushed_at":"2015-06-18T10:03:18Z","git_url":"git://github.com/dimarikpro/qna2.git","ssh_url":"git@github.com:dimarikpro/qna2.git","clone_url":"https://github.com/dimarikpro/qna2.git","svn_url":"https://github.com/dimarikpro/qna2","homepage":null,"size":396,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"dimarikpro:master","ref":"master","sha":"e528d9350008922d1db6c10ba0858265d1d1271d","user":{"login":"dimarikpro","id":5265647,"avatar_url":"https://avatars.githubusercontent.com/u/5265647?v=3","gravatar_id":"","url":"https://api.github.com/users/dimarikpro","html_url":"https://github.com/dimarikpro","followers_url":"https://api.github.com/users/dimarikpro/followers","following_url":"https://api.github.com/users/dimarikpro/following{/other_user}","gists_url":"https://api.github.com/users/dimarikpro/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarikpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarikpro/subscriptions","organizations_url":"https://api.github.com/users/dimarikpro/orgs","repos_url":"https://api.github.com/users/dimarikpro/repos","events_url":"https://api.github.com/users/dimarikpro/events{/privacy}","received_events_url":"https://api.github.com/users/dimarikpro/received_events","type":"User","site_admin":false},"repo":{"id":36830241,"name":"qna2","full_name":"dimarikpro/qna2","owner":{"login":"dimarikpro","id":5265647,"avatar_url":"https://avatars.githubusercontent.com/u/5265647?v=3","gravatar_id":"","url":"https://api.github.com/users/dimarikpro","html_url":"https://github.com/dimarikpro","followers_url":"https://api.github.com/users/dimarikpro/followers","following_url":"https://api.github.com/users/dimarikpro/following{/other_user}","gists_url":"https://api.github.com/users/dimarikpro/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarikpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarikpro/subscriptions","organizations_url":"https://api.github.com/users/dimarikpro/orgs","repos_url":"https://api.github.com/users/dimarikpro/repos","events_url":"https://api.github.com/users/dimarikpro/events{/privacy}","received_events_url":"https://api.github.com/users/dimarikpro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimarikpro/qna2","description":"","fork":false,"url":"https://api.github.com/repos/dimarikpro/qna2","forks_url":"https://api.github.com/repos/dimarikpro/qna2/forks","keys_url":"https://api.github.com/repos/dimarikpro/qna2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimarikpro/qna2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimarikpro/qna2/teams","hooks_url":"https://api.github.com/repos/dimarikpro/qna2/hooks","issue_events_url":"https://api.github.com/repos/dimarikpro/qna2/issues/events{/number}","events_url":"https://api.github.com/repos/dimarikpro/qna2/events","assignees_url":"https://api.github.com/repos/dimarikpro/qna2/assignees{/user}","branches_url":"https://api.github.com/repos/dimarikpro/qna2/branches{/branch}","tags_url":"https://api.github.com/repos/dimarikpro/qna2/tags","blobs_url":"https://api.github.com/repos/dimarikpro/qna2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimarikpro/qna2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimarikpro/qna2/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimarikpro/qna2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimarikpro/qna2/statuses/{sha}","languages_url":"https://api.github.com/repos/dimarikpro/qna2/languages","stargazers_url":"https://api.github.com/repos/dimarikpro/qna2/stargazers","contributors_url":"https://api.github.com/repos/dimarikpro/qna2/contributors","subscribers_url":"https://api.github.com/repos/dimarikpro/qna2/subscribers","subscription_url":"https://api.github.com/repos/dimarikpro/qna2/subscription","commits_url":"https://api.github.com/repos/dimarikpro/qna2/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimarikpro/qna2/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimarikpro/qna2/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimarikpro/qna2/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimarikpro/qna2/contents/{+path}","compare_url":"https://api.github.com/repos/dimarikpro/qna2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimarikpro/qna2/merges","archive_url":"https://api.github.com/repos/dimarikpro/qna2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimarikpro/qna2/downloads","issues_url":"https://api.github.com/repos/dimarikpro/qna2/issues{/number}","pulls_url":"https://api.github.com/repos/dimarikpro/qna2/pulls{/number}","milestones_url":"https://api.github.com/repos/dimarikpro/qna2/milestones{/number}","notifications_url":"https://api.github.com/repos/dimarikpro/qna2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimarikpro/qna2/labels{/name}","releases_url":"https://api.github.com/repos/dimarikpro/qna2/releases{/id}","created_at":"2015-06-03T20:58:57Z","updated_at":"2015-06-16T06:18:32Z","pushed_at":"2015-06-18T10:03:18Z","git_url":"git://github.com/dimarikpro/qna2.git","ssh_url":"git@github.com:dimarikpro/qna2.git","clone_url":"https://github.com/dimarikpro/qna2.git","svn_url":"https://github.com/dimarikpro/qna2","homepage":null,"size":396,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/dimarikpro/qna2/pulls/3"},"html":{"href":"https://github.com/dimarikpro/qna2/pull/3"},"issue":{"href":"https://api.github.com/repos/dimarikpro/qna2/issues/3"},"comments":{"href":"https://api.github.com/repos/dimarikpro/qna2/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/dimarikpro/qna2/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/dimarikpro/qna2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimarikpro/qna2/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/dimarikpro/qna2/statuses/85dda492277ec94594baba3130a4d5d00c43201c"}}}}