{"action":"created","comment":{"url":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/comments/174814743","pull_request_review_id":104239756,"id":174814743,"diff_hunk":"@@ -0,0 +1,6 @@\n+require 'rails_helper'\n+\n+RSpec.describe Answer, type: :model do\n+  it { should validate_presence_of :body }","path":"spec/models/answer_spec.rb","position":4,"original_position":4,"commit_id":"64a1ea1271d82dda1f0af4c19013c1f58f5b8554","original_commit_id":"64a1ea1271d82dda1f0af4c19013c1f58f5b8554","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-03-15T15:01:30Z","updated_at":"2018-03-15T15:01:36Z","html_url":"https://github.com/ruvaleev/thinknetica/pull/1#discussion_r174814743","pull_request_url":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/comments/174814743"},"html":{"href":"https://github.com/ruvaleev/thinknetica/pull/1#discussion_r174814743"},"pull_request":{"href":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/1","id":175251647,"html_url":"https://github.com/ruvaleev/thinknetica/pull/1","diff_url":"https://github.com/ruvaleev/thinknetica/pull/1.diff","patch_url":"https://github.com/ruvaleev/thinknetica/pull/1.patch","issue_url":"https://api.github.com/repos/ruvaleev/thinknetica/issues/1","number":1,"state":"open","locked":false,"title":"added question and answer models and tests for them","user":{"login":"ruvaleev","id":34650880,"avatar_url":"https://avatars0.githubusercontent.com/u/34650880?v=4","gravatar_id":"","url":"https://api.github.com/users/ruvaleev","html_url":"https://github.com/ruvaleev","followers_url":"https://api.github.com/users/ruvaleev/followers","following_url":"https://api.github.com/users/ruvaleev/following{/other_user}","gists_url":"https://api.github.com/users/ruvaleev/gists{/gist_id}","starred_url":"https://api.github.com/users/ruvaleev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruvaleev/subscriptions","organizations_url":"https://api.github.com/users/ruvaleev/orgs","repos_url":"https://api.github.com/users/ruvaleev/repos","events_url":"https://api.github.com/users/ruvaleev/events{/privacy}","received_events_url":"https://api.github.com/users/ruvaleev/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-15T13:33:47Z","updated_at":"2018-03-15T15:01:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"922ad11ab560df3598535ed8b79d8c52e53d32ca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ruvaleev/thinknetica/issues/1/comments","statuses_url":"https://api.github.com/repos/ruvaleev/thinknetica/statuses/64a1ea1271d82dda1f0af4c19013c1f58f5b8554","head":{"label":"ruvaleev:questions_answers_dz3","ref":"questions_answers_dz3","sha":"64a1ea1271d82dda1f0af4c19013c1f58f5b8554","user":{"login":"ruvaleev","id":34650880,"avatar_url":"https://avatars0.githubusercontent.com/u/34650880?v=4","gravatar_id":"","url":"https://api.github.com/users/ruvaleev","html_url":"https://github.com/ruvaleev","followers_url":"https://api.github.com/users/ruvaleev/followers","following_url":"https://api.github.com/users/ruvaleev/following{/other_user}","gists_url":"https://api.github.com/users/ruvaleev/gists{/gist_id}","starred_url":"https://api.github.com/users/ruvaleev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruvaleev/subscriptions","organizations_url":"https://api.github.com/users/ruvaleev/orgs","repos_url":"https://api.github.com/users/ruvaleev/repos","events_url":"https://api.github.com/users/ruvaleev/events{/privacy}","received_events_url":"https://api.github.com/users/ruvaleev/received_events","type":"User","site_admin":false},"repo":{"id":125165559,"name":"thinknetica","full_name":"ruvaleev/thinknetica","owner":{"login":"ruvaleev","id":34650880,"avatar_url":"https://avatars0.githubusercontent.com/u/34650880?v=4","gravatar_id":"","url":"https://api.github.com/users/ruvaleev","html_url":"https://github.com/ruvaleev","followers_url":"https://api.github.com/users/ruvaleev/followers","following_url":"https://api.github.com/users/ruvaleev/following{/other_user}","gists_url":"https://api.github.com/users/ruvaleev/gists{/gist_id}","starred_url":"https://api.github.com/users/ruvaleev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruvaleev/subscriptions","organizations_url":"https://api.github.com/users/ruvaleev/orgs","repos_url":"https://api.github.com/users/ruvaleev/repos","events_url":"https://api.github.com/users/ruvaleev/events{/privacy}","received_events_url":"https://api.github.com/users/ruvaleev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruvaleev/thinknetica","description":null,"fork":false,"url":"https://api.github.com/repos/ruvaleev/thinknetica","forks_url":"https://api.github.com/repos/ruvaleev/thinknetica/forks","keys_url":"https://api.github.com/repos/ruvaleev/thinknetica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruvaleev/thinknetica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruvaleev/thinknetica/teams","hooks_url":"https://api.github.com/repos/ruvaleev/thinknetica/hooks","issue_events_url":"https://api.github.com/repos/ruvaleev/thinknetica/issues/events{/number}","events_url":"https://api.github.com/repos/ruvaleev/thinknetica/events","assignees_url":"https://api.github.com/repos/ruvaleev/thinknetica/assignees{/user}","branches_url":"https://api.github.com/repos/ruvaleev/thinknetica/branches{/branch}","tags_url":"https://api.github.com/repos/ruvaleev/thinknetica/tags","blobs_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruvaleev/thinknetica/statuses/{sha}","languages_url":"https://api.github.com/repos/ruvaleev/thinknetica/languages","stargazers_url":"https://api.github.com/repos/ruvaleev/thinknetica/stargazers","contributors_url":"https://api.github.com/repos/ruvaleev/thinknetica/contributors","subscribers_url":"https://api.github.com/repos/ruvaleev/thinknetica/subscribers","subscription_url":"https://api.github.com/repos/ruvaleev/thinknetica/subscription","commits_url":"https://api.github.com/repos/ruvaleev/thinknetica/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruvaleev/thinknetica/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruvaleev/thinknetica/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruvaleev/thinknetica/contents/{+path}","compare_url":"https://api.github.com/repos/ruvaleev/thinknetica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruvaleev/thinknetica/merges","archive_url":"https://api.github.com/repos/ruvaleev/thinknetica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruvaleev/thinknetica/downloads","issues_url":"https://api.github.com/repos/ruvaleev/thinknetica/issues{/number}","pulls_url":"https://api.github.com/repos/ruvaleev/thinknetica/pulls{/number}","milestones_url":"https://api.github.com/repos/ruvaleev/thinknetica/milestones{/number}","notifications_url":"https://api.github.com/repos/ruvaleev/thinknetica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruvaleev/thinknetica/labels{/name}","releases_url":"https://api.github.com/repos/ruvaleev/thinknetica/releases{/id}","deployments_url":"https://api.github.com/repos/ruvaleev/thinknetica/deployments","created_at":"2018-03-14T06:24:52Z","updated_at":"2018-03-15T13:25:12Z","pushed_at":"2018-03-15T13:33:48Z","git_url":"git://github.com/ruvaleev/thinknetica.git","ssh_url":"git@github.com:ruvaleev/thinknetica.git","clone_url":"https://github.com/ruvaleev/thinknetica.git","svn_url":"https://github.com/ruvaleev/thinknetica","homepage":null,"size":28,"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":"ruvaleev:master","ref":"master","sha":"7783682d7de06f11c4de4922727a48740945d87a","user":{"login":"ruvaleev","id":34650880,"avatar_url":"https://avatars0.githubusercontent.com/u/34650880?v=4","gravatar_id":"","url":"https://api.github.com/users/ruvaleev","html_url":"https://github.com/ruvaleev","followers_url":"https://api.github.com/users/ruvaleev/followers","following_url":"https://api.github.com/users/ruvaleev/following{/other_user}","gists_url":"https://api.github.com/users/ruvaleev/gists{/gist_id}","starred_url":"https://api.github.com/users/ruvaleev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruvaleev/subscriptions","organizations_url":"https://api.github.com/users/ruvaleev/orgs","repos_url":"https://api.github.com/users/ruvaleev/repos","events_url":"https://api.github.com/users/ruvaleev/events{/privacy}","received_events_url":"https://api.github.com/users/ruvaleev/received_events","type":"User","site_admin":false},"repo":{"id":125165559,"name":"thinknetica","full_name":"ruvaleev/thinknetica","owner":{"login":"ruvaleev","id":34650880,"avatar_url":"https://avatars0.githubusercontent.com/u/34650880?v=4","gravatar_id":"","url":"https://api.github.com/users/ruvaleev","html_url":"https://github.com/ruvaleev","followers_url":"https://api.github.com/users/ruvaleev/followers","following_url":"https://api.github.com/users/ruvaleev/following{/other_user}","gists_url":"https://api.github.com/users/ruvaleev/gists{/gist_id}","starred_url":"https://api.github.com/users/ruvaleev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruvaleev/subscriptions","organizations_url":"https://api.github.com/users/ruvaleev/orgs","repos_url":"https://api.github.com/users/ruvaleev/repos","events_url":"https://api.github.com/users/ruvaleev/events{/privacy}","received_events_url":"https://api.github.com/users/ruvaleev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruvaleev/thinknetica","description":null,"fork":false,"url":"https://api.github.com/repos/ruvaleev/thinknetica","forks_url":"https://api.github.com/repos/ruvaleev/thinknetica/forks","keys_url":"https://api.github.com/repos/ruvaleev/thinknetica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruvaleev/thinknetica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruvaleev/thinknetica/teams","hooks_url":"https://api.github.com/repos/ruvaleev/thinknetica/hooks","issue_events_url":"https://api.github.com/repos/ruvaleev/thinknetica/issues/events{/number}","events_url":"https://api.github.com/repos/ruvaleev/thinknetica/events","assignees_url":"https://api.github.com/repos/ruvaleev/thinknetica/assignees{/user}","branches_url":"https://api.github.com/repos/ruvaleev/thinknetica/branches{/branch}","tags_url":"https://api.github.com/repos/ruvaleev/thinknetica/tags","blobs_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruvaleev/thinknetica/statuses/{sha}","languages_url":"https://api.github.com/repos/ruvaleev/thinknetica/languages","stargazers_url":"https://api.github.com/repos/ruvaleev/thinknetica/stargazers","contributors_url":"https://api.github.com/repos/ruvaleev/thinknetica/contributors","subscribers_url":"https://api.github.com/repos/ruvaleev/thinknetica/subscribers","subscription_url":"https://api.github.com/repos/ruvaleev/thinknetica/subscription","commits_url":"https://api.github.com/repos/ruvaleev/thinknetica/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruvaleev/thinknetica/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruvaleev/thinknetica/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruvaleev/thinknetica/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruvaleev/thinknetica/contents/{+path}","compare_url":"https://api.github.com/repos/ruvaleev/thinknetica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruvaleev/thinknetica/merges","archive_url":"https://api.github.com/repos/ruvaleev/thinknetica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruvaleev/thinknetica/downloads","issues_url":"https://api.github.com/repos/ruvaleev/thinknetica/issues{/number}","pulls_url":"https://api.github.com/repos/ruvaleev/thinknetica/pulls{/number}","milestones_url":"https://api.github.com/repos/ruvaleev/thinknetica/milestones{/number}","notifications_url":"https://api.github.com/repos/ruvaleev/thinknetica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruvaleev/thinknetica/labels{/name}","releases_url":"https://api.github.com/repos/ruvaleev/thinknetica/releases{/id}","deployments_url":"https://api.github.com/repos/ruvaleev/thinknetica/deployments","created_at":"2018-03-14T06:24:52Z","updated_at":"2018-03-15T13:25:12Z","pushed_at":"2018-03-15T13:33:48Z","git_url":"git://github.com/ruvaleev/thinknetica.git","ssh_url":"git@github.com:ruvaleev/thinknetica.git","clone_url":"https://github.com/ruvaleev/thinknetica.git","svn_url":"https://github.com/ruvaleev/thinknetica","homepage":null,"size":28,"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/ruvaleev/thinknetica/pulls/1"},"html":{"href":"https://github.com/ruvaleev/thinknetica/pull/1"},"issue":{"href":"https://api.github.com/repos/ruvaleev/thinknetica/issues/1"},"comments":{"href":"https://api.github.com/repos/ruvaleev/thinknetica/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ruvaleev/thinknetica/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ruvaleev/thinknetica/statuses/64a1ea1271d82dda1f0af4c19013c1f58f5b8554"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vkurennov"}}