{"action":"created","comment":{"url":"https://api.github.com/repos/Xvecess/xvecess/pulls/comments/32029680","id":32029680,"diff_hunk":"@@ -21,6 +25,8 @@\n   end\n \n   describe 'POST #create' do\n+    sign_in_user","path":"spec/controllers/answers_controller_spec.rb","position":21,"original_position":21,"commit_id":"fa4232887eda2317b251c92443881efd9d87ca71","original_commit_id":"fa4232887eda2317b251c92443881efd9d87ca71","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":"А сюда еще нужны тесты на то, что при создании ответа он связывается с пользователем. Получить залогинненного пользователя из контроллера можно с помощью `subject.current_user`.","created_at":"2015-06-09T15:59:08Z","updated_at":"2015-06-09T15:59:08Z","html_url":"https://github.com/Xvecess/xvecess/pull/3#discussion_r32029680","pull_request_url":"https://api.github.com/repos/Xvecess/xvecess/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Xvecess/xvecess/pulls/comments/32029680"},"html":{"href":"https://github.com/Xvecess/xvecess/pull/3#discussion_r32029680"},"pull_request":{"href":"https://api.github.com/repos/Xvecess/xvecess/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Xvecess/xvecess/pulls/3","id":37064290,"html_url":"https://github.com/Xvecess/xvecess/pull/3","diff_url":"https://github.com/Xvecess/xvecess/pull/3.diff","patch_url":"https://github.com/Xvecess/xvecess/pull/3.patch","issue_url":"https://api.github.com/repos/Xvecess/xvecess/issues/3","number":3,"state":"open","locked":false,"title":"Add  authentication, features tests for question, answers","user":{"login":"Xvecess","id":12614104,"avatar_url":"https://avatars.githubusercontent.com/u/12614104?v=3","gravatar_id":"","url":"https://api.github.com/users/Xvecess","html_url":"https://github.com/Xvecess","followers_url":"https://api.github.com/users/Xvecess/followers","following_url":"https://api.github.com/users/Xvecess/following{/other_user}","gists_url":"https://api.github.com/users/Xvecess/gists{/gist_id}","starred_url":"https://api.github.com/users/Xvecess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xvecess/subscriptions","organizations_url":"https://api.github.com/users/Xvecess/orgs","repos_url":"https://api.github.com/users/Xvecess/repos","events_url":"https://api.github.com/users/Xvecess/events{/privacy}","received_events_url":"https://api.github.com/users/Xvecess/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-05T19:53:44Z","updated_at":"2015-06-09T15:59:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a292836cce574a91a5573b3df1057a00a92e9df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Xvecess/xvecess/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Xvecess/xvecess/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Xvecess/xvecess/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Xvecess/xvecess/issues/3/comments","statuses_url":"https://api.github.com/repos/Xvecess/xvecess/statuses/fa4232887eda2317b251c92443881efd9d87ca71","head":{"label":"Xvecess:third","ref":"third","sha":"fa4232887eda2317b251c92443881efd9d87ca71","user":{"login":"Xvecess","id":12614104,"avatar_url":"https://avatars.githubusercontent.com/u/12614104?v=3","gravatar_id":"","url":"https://api.github.com/users/Xvecess","html_url":"https://github.com/Xvecess","followers_url":"https://api.github.com/users/Xvecess/followers","following_url":"https://api.github.com/users/Xvecess/following{/other_user}","gists_url":"https://api.github.com/users/Xvecess/gists{/gist_id}","starred_url":"https://api.github.com/users/Xvecess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xvecess/subscriptions","organizations_url":"https://api.github.com/users/Xvecess/orgs","repos_url":"https://api.github.com/users/Xvecess/repos","events_url":"https://api.github.com/users/Xvecess/events{/privacy}","received_events_url":"https://api.github.com/users/Xvecess/received_events","type":"User","site_admin":false},"repo":{"id":36555500,"name":"xvecess","full_name":"Xvecess/xvecess","owner":{"login":"Xvecess","id":12614104,"avatar_url":"https://avatars.githubusercontent.com/u/12614104?v=3","gravatar_id":"","url":"https://api.github.com/users/Xvecess","html_url":"https://github.com/Xvecess","followers_url":"https://api.github.com/users/Xvecess/followers","following_url":"https://api.github.com/users/Xvecess/following{/other_user}","gists_url":"https://api.github.com/users/Xvecess/gists{/gist_id}","starred_url":"https://api.github.com/users/Xvecess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xvecess/subscriptions","organizations_url":"https://api.github.com/users/Xvecess/orgs","repos_url":"https://api.github.com/users/Xvecess/repos","events_url":"https://api.github.com/users/Xvecess/events{/privacy}","received_events_url":"https://api.github.com/users/Xvecess/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Xvecess/xvecess","description":"","fork":false,"url":"https://api.github.com/repos/Xvecess/xvecess","forks_url":"https://api.github.com/repos/Xvecess/xvecess/forks","keys_url":"https://api.github.com/repos/Xvecess/xvecess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xvecess/xvecess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xvecess/xvecess/teams","hooks_url":"https://api.github.com/repos/Xvecess/xvecess/hooks","issue_events_url":"https://api.github.com/repos/Xvecess/xvecess/issues/events{/number}","events_url":"https://api.github.com/repos/Xvecess/xvecess/events","assignees_url":"https://api.github.com/repos/Xvecess/xvecess/assignees{/user}","branches_url":"https://api.github.com/repos/Xvecess/xvecess/branches{/branch}","tags_url":"https://api.github.com/repos/Xvecess/xvecess/tags","blobs_url":"https://api.github.com/repos/Xvecess/xvecess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xvecess/xvecess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xvecess/xvecess/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xvecess/xvecess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xvecess/xvecess/statuses/{sha}","languages_url":"https://api.github.com/repos/Xvecess/xvecess/languages","stargazers_url":"https://api.github.com/repos/Xvecess/xvecess/stargazers","contributors_url":"https://api.github.com/repos/Xvecess/xvecess/contributors","subscribers_url":"https://api.github.com/repos/Xvecess/xvecess/subscribers","subscription_url":"https://api.github.com/repos/Xvecess/xvecess/subscription","commits_url":"https://api.github.com/repos/Xvecess/xvecess/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xvecess/xvecess/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xvecess/xvecess/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xvecess/xvecess/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xvecess/xvecess/contents/{+path}","compare_url":"https://api.github.com/repos/Xvecess/xvecess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xvecess/xvecess/merges","archive_url":"https://api.github.com/repos/Xvecess/xvecess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xvecess/xvecess/downloads","issues_url":"https://api.github.com/repos/Xvecess/xvecess/issues{/number}","pulls_url":"https://api.github.com/repos/Xvecess/xvecess/pulls{/number}","milestones_url":"https://api.github.com/repos/Xvecess/xvecess/milestones{/number}","notifications_url":"https://api.github.com/repos/Xvecess/xvecess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xvecess/xvecess/labels{/name}","releases_url":"https://api.github.com/repos/Xvecess/xvecess/releases{/id}","created_at":"2015-05-30T11:32:10Z","updated_at":"2015-05-30T11:33:35Z","pushed_at":"2015-06-09T14:55:55Z","git_url":"git://github.com/Xvecess/xvecess.git","ssh_url":"git@github.com:Xvecess/xvecess.git","clone_url":"https://github.com/Xvecess/xvecess.git","svn_url":"https://github.com/Xvecess/xvecess","homepage":null,"size":292,"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":"Xvecess:master","ref":"master","sha":"18245606fadf85d4b31b2b0521c9e2558291edd9","user":{"login":"Xvecess","id":12614104,"avatar_url":"https://avatars.githubusercontent.com/u/12614104?v=3","gravatar_id":"","url":"https://api.github.com/users/Xvecess","html_url":"https://github.com/Xvecess","followers_url":"https://api.github.com/users/Xvecess/followers","following_url":"https://api.github.com/users/Xvecess/following{/other_user}","gists_url":"https://api.github.com/users/Xvecess/gists{/gist_id}","starred_url":"https://api.github.com/users/Xvecess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xvecess/subscriptions","organizations_url":"https://api.github.com/users/Xvecess/orgs","repos_url":"https://api.github.com/users/Xvecess/repos","events_url":"https://api.github.com/users/Xvecess/events{/privacy}","received_events_url":"https://api.github.com/users/Xvecess/received_events","type":"User","site_admin":false},"repo":{"id":36555500,"name":"xvecess","full_name":"Xvecess/xvecess","owner":{"login":"Xvecess","id":12614104,"avatar_url":"https://avatars.githubusercontent.com/u/12614104?v=3","gravatar_id":"","url":"https://api.github.com/users/Xvecess","html_url":"https://github.com/Xvecess","followers_url":"https://api.github.com/users/Xvecess/followers","following_url":"https://api.github.com/users/Xvecess/following{/other_user}","gists_url":"https://api.github.com/users/Xvecess/gists{/gist_id}","starred_url":"https://api.github.com/users/Xvecess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xvecess/subscriptions","organizations_url":"https://api.github.com/users/Xvecess/orgs","repos_url":"https://api.github.com/users/Xvecess/repos","events_url":"https://api.github.com/users/Xvecess/events{/privacy}","received_events_url":"https://api.github.com/users/Xvecess/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Xvecess/xvecess","description":"","fork":false,"url":"https://api.github.com/repos/Xvecess/xvecess","forks_url":"https://api.github.com/repos/Xvecess/xvecess/forks","keys_url":"https://api.github.com/repos/Xvecess/xvecess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xvecess/xvecess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xvecess/xvecess/teams","hooks_url":"https://api.github.com/repos/Xvecess/xvecess/hooks","issue_events_url":"https://api.github.com/repos/Xvecess/xvecess/issues/events{/number}","events_url":"https://api.github.com/repos/Xvecess/xvecess/events","assignees_url":"https://api.github.com/repos/Xvecess/xvecess/assignees{/user}","branches_url":"https://api.github.com/repos/Xvecess/xvecess/branches{/branch}","tags_url":"https://api.github.com/repos/Xvecess/xvecess/tags","blobs_url":"https://api.github.com/repos/Xvecess/xvecess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xvecess/xvecess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xvecess/xvecess/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xvecess/xvecess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xvecess/xvecess/statuses/{sha}","languages_url":"https://api.github.com/repos/Xvecess/xvecess/languages","stargazers_url":"https://api.github.com/repos/Xvecess/xvecess/stargazers","contributors_url":"https://api.github.com/repos/Xvecess/xvecess/contributors","subscribers_url":"https://api.github.com/repos/Xvecess/xvecess/subscribers","subscription_url":"https://api.github.com/repos/Xvecess/xvecess/subscription","commits_url":"https://api.github.com/repos/Xvecess/xvecess/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xvecess/xvecess/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xvecess/xvecess/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xvecess/xvecess/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xvecess/xvecess/contents/{+path}","compare_url":"https://api.github.com/repos/Xvecess/xvecess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xvecess/xvecess/merges","archive_url":"https://api.github.com/repos/Xvecess/xvecess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xvecess/xvecess/downloads","issues_url":"https://api.github.com/repos/Xvecess/xvecess/issues{/number}","pulls_url":"https://api.github.com/repos/Xvecess/xvecess/pulls{/number}","milestones_url":"https://api.github.com/repos/Xvecess/xvecess/milestones{/number}","notifications_url":"https://api.github.com/repos/Xvecess/xvecess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xvecess/xvecess/labels{/name}","releases_url":"https://api.github.com/repos/Xvecess/xvecess/releases{/id}","created_at":"2015-05-30T11:32:10Z","updated_at":"2015-05-30T11:33:35Z","pushed_at":"2015-06-09T14:55:55Z","git_url":"git://github.com/Xvecess/xvecess.git","ssh_url":"git@github.com:Xvecess/xvecess.git","clone_url":"https://github.com/Xvecess/xvecess.git","svn_url":"https://github.com/Xvecess/xvecess","homepage":null,"size":292,"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/Xvecess/xvecess/pulls/3"},"html":{"href":"https://github.com/Xvecess/xvecess/pull/3"},"issue":{"href":"https://api.github.com/repos/Xvecess/xvecess/issues/3"},"comments":{"href":"https://api.github.com/repos/Xvecess/xvecess/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Xvecess/xvecess/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Xvecess/xvecess/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Xvecess/xvecess/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Xvecess/xvecess/statuses/fa4232887eda2317b251c92443881efd9d87ca71"}}}}