{"action":"created","comment":{"url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/comments/82634629","pull_request_review_id":3526895,"id":82634629,"diff_hunk":"@@ -0,0 +1,51 @@\n+require 'rails_helper'\n+describe Prototype do\n+\tbefore do\n+      @prototype = create(:prototype)\n+    end\n+\tdescribe \"associations\" do\n+\t\tdescribe \"with comments\" do\n+\t\t\tit \"deletes comments when prototype is deleted\" do\n+\t\t\t\tcomment = attributes_for(:comment)\n+\t\t\t\t@prototype.comments.create(comment)\n+\t\t\t\texpect{@prototype.destroy}.to change{Comment.count}.by(-1)","path":"spec/models/prototype_spec.rb","position":11,"original_position":11,"commit_id":"fcb45b635e55ca9d4cb23a7d593e9d79a156ec05","original_commit_id":"fcb45b635e55ca9d4cb23a7d593e9d79a156ec05","user":{"login":"ShuheiTsuji","id":16604920,"avatar_url":"https://avatars.githubusercontent.com/u/16604920?v=3","gravatar_id":"","url":"https://api.github.com/users/ShuheiTsuji","html_url":"https://github.com/ShuheiTsuji","followers_url":"https://api.github.com/users/ShuheiTsuji/followers","following_url":"https://api.github.com/users/ShuheiTsuji/following{/other_user}","gists_url":"https://api.github.com/users/ShuheiTsuji/gists{/gist_id}","starred_url":"https://api.github.com/users/ShuheiTsuji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShuheiTsuji/subscriptions","organizations_url":"https://api.github.com/users/ShuheiTsuji/orgs","repos_url":"https://api.github.com/users/ShuheiTsuji/repos","events_url":"https://api.github.com/users/ShuheiTsuji/events{/privacy}","received_events_url":"https://api.github.com/users/ShuheiTsuji/received_events","type":"User","site_admin":false},"body":"{ @prototype }みたいな形で1つ空白作ろう","created_at":"2016-10-10T16:10:42Z","updated_at":"2016-10-10T16:10:42Z","html_url":"https://github.com/Hiroaki-Shimohira/proto_space/pull/19#discussion_r82634629","pull_request_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/comments/82634629"},"html":{"href":"https://github.com/Hiroaki-Shimohira/proto_space/pull/19#discussion_r82634629"},"pull_request":{"href":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/19","id":88538839,"html_url":"https://github.com/Hiroaki-Shimohira/proto_space/pull/19","diff_url":"https://github.com/Hiroaki-Shimohira/proto_space/pull/19.diff","patch_url":"https://github.com/Hiroaki-Shimohira/proto_space/pull/19.patch","issue_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues/19","number":19,"state":"open","locked":false,"title":"User model test","user":{"login":"Hiroaki-Shimohira","id":20332945,"avatar_url":"https://avatars.githubusercontent.com/u/20332945?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroaki-Shimohira","html_url":"https://github.com/Hiroaki-Shimohira","followers_url":"https://api.github.com/users/Hiroaki-Shimohira/followers","following_url":"https://api.github.com/users/Hiroaki-Shimohira/following{/other_user}","gists_url":"https://api.github.com/users/Hiroaki-Shimohira/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroaki-Shimohira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroaki-Shimohira/subscriptions","organizations_url":"https://api.github.com/users/Hiroaki-Shimohira/orgs","repos_url":"https://api.github.com/users/Hiroaki-Shimohira/repos","events_url":"https://api.github.com/users/Hiroaki-Shimohira/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroaki-Shimohira/received_events","type":"User","site_admin":false},"body":"# what \r\nモデルのテスト\r\n# why \r\nvalidationがしっかり機能するか確かめるため","created_at":"2016-10-08T08:32:48Z","updated_at":"2016-10-10T16:18:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed096ae437062490e09d4ed477b7e218a112cdf7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/19/commits","review_comments_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/19/comments","review_comment_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues/19/comments","statuses_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/statuses/fcb45b635e55ca9d4cb23a7d593e9d79a156ec05","head":{"label":"Hiroaki-Shimohira:user_model_test","ref":"user_model_test","sha":"fcb45b635e55ca9d4cb23a7d593e9d79a156ec05","user":{"login":"Hiroaki-Shimohira","id":20332945,"avatar_url":"https://avatars.githubusercontent.com/u/20332945?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroaki-Shimohira","html_url":"https://github.com/Hiroaki-Shimohira","followers_url":"https://api.github.com/users/Hiroaki-Shimohira/followers","following_url":"https://api.github.com/users/Hiroaki-Shimohira/following{/other_user}","gists_url":"https://api.github.com/users/Hiroaki-Shimohira/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroaki-Shimohira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroaki-Shimohira/subscriptions","organizations_url":"https://api.github.com/users/Hiroaki-Shimohira/orgs","repos_url":"https://api.github.com/users/Hiroaki-Shimohira/repos","events_url":"https://api.github.com/users/Hiroaki-Shimohira/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroaki-Shimohira/received_events","type":"User","site_admin":false},"repo":{"id":64664885,"name":"proto_space","full_name":"Hiroaki-Shimohira/proto_space","owner":{"login":"Hiroaki-Shimohira","id":20332945,"avatar_url":"https://avatars.githubusercontent.com/u/20332945?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroaki-Shimohira","html_url":"https://github.com/Hiroaki-Shimohira","followers_url":"https://api.github.com/users/Hiroaki-Shimohira/followers","following_url":"https://api.github.com/users/Hiroaki-Shimohira/following{/other_user}","gists_url":"https://api.github.com/users/Hiroaki-Shimohira/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroaki-Shimohira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroaki-Shimohira/subscriptions","organizations_url":"https://api.github.com/users/Hiroaki-Shimohira/orgs","repos_url":"https://api.github.com/users/Hiroaki-Shimohira/repos","events_url":"https://api.github.com/users/Hiroaki-Shimohira/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroaki-Shimohira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hiroaki-Shimohira/proto_space","description":null,"fork":false,"url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space","forks_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/forks","keys_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/teams","hooks_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/hooks","issue_events_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues/events{/number}","events_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/events","assignees_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/assignees{/user}","branches_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/branches{/branch}","tags_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/tags","blobs_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/statuses/{sha}","languages_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/languages","stargazers_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/stargazers","contributors_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/contributors","subscribers_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/subscribers","subscription_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/subscription","commits_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/contents/{+path}","compare_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/merges","archive_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/downloads","issues_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues{/number}","pulls_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls{/number}","milestones_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/milestones{/number}","notifications_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/labels{/name}","releases_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/releases{/id}","deployments_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/deployments","created_at":"2016-08-01T12:27:05Z","updated_at":"2016-08-01T12:27:42Z","pushed_at":"2016-10-10T15:50:43Z","git_url":"git://github.com/Hiroaki-Shimohira/proto_space.git","ssh_url":"git@github.com:Hiroaki-Shimohira/proto_space.git","clone_url":"https://github.com/Hiroaki-Shimohira/proto_space.git","svn_url":"https://github.com/Hiroaki-Shimohira/proto_space","homepage":"","size":3378,"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":"Hiroaki-Shimohira:master","ref":"master","sha":"09bb3286f56e1954126f8066d93f21393a8cb4e4","user":{"login":"Hiroaki-Shimohira","id":20332945,"avatar_url":"https://avatars.githubusercontent.com/u/20332945?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroaki-Shimohira","html_url":"https://github.com/Hiroaki-Shimohira","followers_url":"https://api.github.com/users/Hiroaki-Shimohira/followers","following_url":"https://api.github.com/users/Hiroaki-Shimohira/following{/other_user}","gists_url":"https://api.github.com/users/Hiroaki-Shimohira/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroaki-Shimohira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroaki-Shimohira/subscriptions","organizations_url":"https://api.github.com/users/Hiroaki-Shimohira/orgs","repos_url":"https://api.github.com/users/Hiroaki-Shimohira/repos","events_url":"https://api.github.com/users/Hiroaki-Shimohira/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroaki-Shimohira/received_events","type":"User","site_admin":false},"repo":{"id":64664885,"name":"proto_space","full_name":"Hiroaki-Shimohira/proto_space","owner":{"login":"Hiroaki-Shimohira","id":20332945,"avatar_url":"https://avatars.githubusercontent.com/u/20332945?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroaki-Shimohira","html_url":"https://github.com/Hiroaki-Shimohira","followers_url":"https://api.github.com/users/Hiroaki-Shimohira/followers","following_url":"https://api.github.com/users/Hiroaki-Shimohira/following{/other_user}","gists_url":"https://api.github.com/users/Hiroaki-Shimohira/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroaki-Shimohira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroaki-Shimohira/subscriptions","organizations_url":"https://api.github.com/users/Hiroaki-Shimohira/orgs","repos_url":"https://api.github.com/users/Hiroaki-Shimohira/repos","events_url":"https://api.github.com/users/Hiroaki-Shimohira/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroaki-Shimohira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hiroaki-Shimohira/proto_space","description":null,"fork":false,"url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space","forks_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/forks","keys_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/teams","hooks_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/hooks","issue_events_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues/events{/number}","events_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/events","assignees_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/assignees{/user}","branches_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/branches{/branch}","tags_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/tags","blobs_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/statuses/{sha}","languages_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/languages","stargazers_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/stargazers","contributors_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/contributors","subscribers_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/subscribers","subscription_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/subscription","commits_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/contents/{+path}","compare_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/merges","archive_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/downloads","issues_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues{/number}","pulls_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls{/number}","milestones_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/milestones{/number}","notifications_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/labels{/name}","releases_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/releases{/id}","deployments_url":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/deployments","created_at":"2016-08-01T12:27:05Z","updated_at":"2016-08-01T12:27:42Z","pushed_at":"2016-10-10T15:50:43Z","git_url":"git://github.com/Hiroaki-Shimohira/proto_space.git","ssh_url":"git@github.com:Hiroaki-Shimohira/proto_space.git","clone_url":"https://github.com/Hiroaki-Shimohira/proto_space.git","svn_url":"https://github.com/Hiroaki-Shimohira/proto_space","homepage":"","size":3378,"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/Hiroaki-Shimohira/proto_space/pulls/19"},"html":{"href":"https://github.com/Hiroaki-Shimohira/proto_space/pull/19"},"issue":{"href":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues/19"},"comments":{"href":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/Hiroaki-Shimohira/proto_space/statuses/fcb45b635e55ca9d4cb23a7d593e9d79a156ec05"}}}}
{"actor":{"display_login":"ShuheiTsuji"}}