{"action":"created","comment":{"url":"https://api.github.com/repos/yusoshi/chat-space/pulls/comments/105552861","pull_request_review_id":26440839,"id":105552861,"diff_hunk":"@@ -0,0 +1,9 @@\n+FactoryGirl.define do\n+\n+  factory :message do\n+    body              \"Hello\"\n+    group_id          { Faker::Number.between(1, 1000) }\n+    user_id           { Faker::Number.between(1, 1000) }","path":"spec/factories/message.rb","position":null,"original_position":6,"commit_id":"91523777f828635624a4dd2f4d164ae5b484d1e4","original_commit_id":"d3d6eeea0ea3199caf267a961f94a10408ab2be4","user":{"login":"yusoshi","id":14897730,"avatar_url":"https://avatars0.githubusercontent.com/u/14897730?v=3","gravatar_id":"","url":"https://api.github.com/users/yusoshi","html_url":"https://github.com/yusoshi","followers_url":"https://api.github.com/users/yusoshi/followers","following_url":"https://api.github.com/users/yusoshi/following{/other_user}","gists_url":"https://api.github.com/users/yusoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/yusoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusoshi/subscriptions","organizations_url":"https://api.github.com/users/yusoshi/orgs","repos_url":"https://api.github.com/users/yusoshi/repos","events_url":"https://api.github.com/users/yusoshi/events{/privacy}","received_events_url":"https://api.github.com/users/yusoshi/received_events","type":"User","site_admin":false},"body":"修正しました。","created_at":"2017-03-12T09:33:25Z","updated_at":"2017-03-12T09:33:26Z","html_url":"https://github.com/yusoshi/chat-space/pull/23#discussion_r105552861","pull_request_url":"https://api.github.com/repos/yusoshi/chat-space/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/yusoshi/chat-space/pulls/comments/105552861"},"html":{"href":"https://github.com/yusoshi/chat-space/pull/23#discussion_r105552861"},"pull_request":{"href":"https://api.github.com/repos/yusoshi/chat-space/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/yusoshi/chat-space/pulls/23","id":110290323,"html_url":"https://github.com/yusoshi/chat-space/pull/23","diff_url":"https://github.com/yusoshi/chat-space/pull/23.diff","patch_url":"https://github.com/yusoshi/chat-space/pull/23.patch","issue_url":"https://api.github.com/repos/yusoshi/chat-space/issues/23","number":23,"state":"open","locked":false,"title":"Test message model","user":{"login":"yusoshi","id":14897730,"avatar_url":"https://avatars0.githubusercontent.com/u/14897730?v=3","gravatar_id":"","url":"https://api.github.com/users/yusoshi","html_url":"https://github.com/yusoshi","followers_url":"https://api.github.com/users/yusoshi/followers","following_url":"https://api.github.com/users/yusoshi/following{/other_user}","gists_url":"https://api.github.com/users/yusoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/yusoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusoshi/subscriptions","organizations_url":"https://api.github.com/users/yusoshi/orgs","repos_url":"https://api.github.com/users/yusoshi/repos","events_url":"https://api.github.com/users/yusoshi/events{/privacy}","received_events_url":"https://api.github.com/users/yusoshi/received_events","type":"User","site_admin":false},"body":"# What\n- rspec, factory girl, fakerの導入\n- bodyが空の場合、保存できないことをテスト\n- bodyが記述された時、保存できることをテスト\n\n# Why\nメッセージ送信機能のテストのため。","created_at":"2017-03-12T08:03:00Z","updated_at":"2017-03-12T09:33:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1abdbb42d0c62a126a490e8ea8d430728cdeceef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yusoshi/chat-space/pulls/23/commits","review_comments_url":"https://api.github.com/repos/yusoshi/chat-space/pulls/23/comments","review_comment_url":"https://api.github.com/repos/yusoshi/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yusoshi/chat-space/issues/23/comments","statuses_url":"https://api.github.com/repos/yusoshi/chat-space/statuses/91523777f828635624a4dd2f4d164ae5b484d1e4","head":{"label":"yusoshi:Test-message-model","ref":"Test-message-model","sha":"91523777f828635624a4dd2f4d164ae5b484d1e4","user":{"login":"yusoshi","id":14897730,"avatar_url":"https://avatars0.githubusercontent.com/u/14897730?v=3","gravatar_id":"","url":"https://api.github.com/users/yusoshi","html_url":"https://github.com/yusoshi","followers_url":"https://api.github.com/users/yusoshi/followers","following_url":"https://api.github.com/users/yusoshi/following{/other_user}","gists_url":"https://api.github.com/users/yusoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/yusoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusoshi/subscriptions","organizations_url":"https://api.github.com/users/yusoshi/orgs","repos_url":"https://api.github.com/users/yusoshi/repos","events_url":"https://api.github.com/users/yusoshi/events{/privacy}","received_events_url":"https://api.github.com/users/yusoshi/received_events","type":"User","site_admin":false},"repo":{"id":80392711,"name":"chat-space","full_name":"yusoshi/chat-space","owner":{"login":"yusoshi","id":14897730,"avatar_url":"https://avatars0.githubusercontent.com/u/14897730?v=3","gravatar_id":"","url":"https://api.github.com/users/yusoshi","html_url":"https://github.com/yusoshi","followers_url":"https://api.github.com/users/yusoshi/followers","following_url":"https://api.github.com/users/yusoshi/following{/other_user}","gists_url":"https://api.github.com/users/yusoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/yusoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusoshi/subscriptions","organizations_url":"https://api.github.com/users/yusoshi/orgs","repos_url":"https://api.github.com/users/yusoshi/repos","events_url":"https://api.github.com/users/yusoshi/events{/privacy}","received_events_url":"https://api.github.com/users/yusoshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yusoshi/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/yusoshi/chat-space","forks_url":"https://api.github.com/repos/yusoshi/chat-space/forks","keys_url":"https://api.github.com/repos/yusoshi/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yusoshi/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yusoshi/chat-space/teams","hooks_url":"https://api.github.com/repos/yusoshi/chat-space/hooks","issue_events_url":"https://api.github.com/repos/yusoshi/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/yusoshi/chat-space/events","assignees_url":"https://api.github.com/repos/yusoshi/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/yusoshi/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/yusoshi/chat-space/tags","blobs_url":"https://api.github.com/repos/yusoshi/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yusoshi/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yusoshi/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/yusoshi/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yusoshi/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/yusoshi/chat-space/languages","stargazers_url":"https://api.github.com/repos/yusoshi/chat-space/stargazers","contributors_url":"https://api.github.com/repos/yusoshi/chat-space/contributors","subscribers_url":"https://api.github.com/repos/yusoshi/chat-space/subscribers","subscription_url":"https://api.github.com/repos/yusoshi/chat-space/subscription","commits_url":"https://api.github.com/repos/yusoshi/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/yusoshi/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/yusoshi/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/yusoshi/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/yusoshi/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/yusoshi/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yusoshi/chat-space/merges","archive_url":"https://api.github.com/repos/yusoshi/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yusoshi/chat-space/downloads","issues_url":"https://api.github.com/repos/yusoshi/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/yusoshi/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/yusoshi/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/yusoshi/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yusoshi/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/yusoshi/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/yusoshi/chat-space/deployments","created_at":"2017-01-30T04:09:46Z","updated_at":"2017-01-30T04:09:52Z","pushed_at":"2017-03-12T09:31:40Z","git_url":"git://github.com/yusoshi/chat-space.git","ssh_url":"git@github.com:yusoshi/chat-space.git","clone_url":"https://github.com/yusoshi/chat-space.git","svn_url":"https://github.com/yusoshi/chat-space","homepage":null,"size":134,"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":"yusoshi:master","ref":"master","sha":"caad2e9d5ba9319256b1b1385c38c6d537b710aa","user":{"login":"yusoshi","id":14897730,"avatar_url":"https://avatars0.githubusercontent.com/u/14897730?v=3","gravatar_id":"","url":"https://api.github.com/users/yusoshi","html_url":"https://github.com/yusoshi","followers_url":"https://api.github.com/users/yusoshi/followers","following_url":"https://api.github.com/users/yusoshi/following{/other_user}","gists_url":"https://api.github.com/users/yusoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/yusoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusoshi/subscriptions","organizations_url":"https://api.github.com/users/yusoshi/orgs","repos_url":"https://api.github.com/users/yusoshi/repos","events_url":"https://api.github.com/users/yusoshi/events{/privacy}","received_events_url":"https://api.github.com/users/yusoshi/received_events","type":"User","site_admin":false},"repo":{"id":80392711,"name":"chat-space","full_name":"yusoshi/chat-space","owner":{"login":"yusoshi","id":14897730,"avatar_url":"https://avatars0.githubusercontent.com/u/14897730?v=3","gravatar_id":"","url":"https://api.github.com/users/yusoshi","html_url":"https://github.com/yusoshi","followers_url":"https://api.github.com/users/yusoshi/followers","following_url":"https://api.github.com/users/yusoshi/following{/other_user}","gists_url":"https://api.github.com/users/yusoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/yusoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusoshi/subscriptions","organizations_url":"https://api.github.com/users/yusoshi/orgs","repos_url":"https://api.github.com/users/yusoshi/repos","events_url":"https://api.github.com/users/yusoshi/events{/privacy}","received_events_url":"https://api.github.com/users/yusoshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yusoshi/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/yusoshi/chat-space","forks_url":"https://api.github.com/repos/yusoshi/chat-space/forks","keys_url":"https://api.github.com/repos/yusoshi/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yusoshi/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yusoshi/chat-space/teams","hooks_url":"https://api.github.com/repos/yusoshi/chat-space/hooks","issue_events_url":"https://api.github.com/repos/yusoshi/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/yusoshi/chat-space/events","assignees_url":"https://api.github.com/repos/yusoshi/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/yusoshi/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/yusoshi/chat-space/tags","blobs_url":"https://api.github.com/repos/yusoshi/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yusoshi/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yusoshi/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/yusoshi/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yusoshi/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/yusoshi/chat-space/languages","stargazers_url":"https://api.github.com/repos/yusoshi/chat-space/stargazers","contributors_url":"https://api.github.com/repos/yusoshi/chat-space/contributors","subscribers_url":"https://api.github.com/repos/yusoshi/chat-space/subscribers","subscription_url":"https://api.github.com/repos/yusoshi/chat-space/subscription","commits_url":"https://api.github.com/repos/yusoshi/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/yusoshi/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/yusoshi/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/yusoshi/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/yusoshi/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/yusoshi/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yusoshi/chat-space/merges","archive_url":"https://api.github.com/repos/yusoshi/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yusoshi/chat-space/downloads","issues_url":"https://api.github.com/repos/yusoshi/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/yusoshi/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/yusoshi/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/yusoshi/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yusoshi/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/yusoshi/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/yusoshi/chat-space/deployments","created_at":"2017-01-30T04:09:46Z","updated_at":"2017-01-30T04:09:52Z","pushed_at":"2017-03-12T09:31:40Z","git_url":"git://github.com/yusoshi/chat-space.git","ssh_url":"git@github.com:yusoshi/chat-space.git","clone_url":"https://github.com/yusoshi/chat-space.git","svn_url":"https://github.com/yusoshi/chat-space","homepage":null,"size":134,"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/yusoshi/chat-space/pulls/23"},"html":{"href":"https://github.com/yusoshi/chat-space/pull/23"},"issue":{"href":"https://api.github.com/repos/yusoshi/chat-space/issues/23"},"comments":{"href":"https://api.github.com/repos/yusoshi/chat-space/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/yusoshi/chat-space/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/yusoshi/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yusoshi/chat-space/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/yusoshi/chat-space/statuses/91523777f828635624a4dd2f4d164ae5b484d1e4"}}}}
{"actor":{"display_login":"yusoshi"}}