{"action":"created","comment":{"url":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/comments/100663508","pull_request_review_id":21382170,"id":100663508,"diff_hunk":"@@ -0,0 +1,8 @@\n+FactoryGirl.define do\n+\n+  factory :message do\n+    body         \"hello\"\n+    group_id     \"14\"\n+    user_id      \"5\"","path":"spec/factories/messages.rb","position":6,"original_position":6,"commit_id":"c5a2655d3f47b6d00a5ad68190621c45c96cf229","original_commit_id":"c5a2655d3f47b6d00a5ad68190621c45c96cf229","user":{"login":"nekoze1210","id":14988862,"avatar_url":"https://avatars.githubusercontent.com/u/14988862?v=3","gravatar_id":"","url":"https://api.github.com/users/nekoze1210","html_url":"https://github.com/nekoze1210","followers_url":"https://api.github.com/users/nekoze1210/followers","following_url":"https://api.github.com/users/nekoze1210/following{/other_user}","gists_url":"https://api.github.com/users/nekoze1210/gists{/gist_id}","starred_url":"https://api.github.com/users/nekoze1210/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekoze1210/subscriptions","organizations_url":"https://api.github.com/users/nekoze1210/orgs","repos_url":"https://api.github.com/users/nekoze1210/repos","events_url":"https://api.github.com/users/nekoze1210/events{/privacy}","received_events_url":"https://api.github.com/users/nekoze1210/received_events","type":"User","site_admin":false},"body":"Rspecでもアソシエーションが使用できます！\r\nこちらを参考にして下さい！\r\nhttp://woshidan.hatenablog.com/entry/2014/09/06/194843","created_at":"2017-02-11T08:54:52Z","updated_at":"2017-02-11T08:55:45Z","html_url":"https://github.com/hideakinishioka/chat-space/pull/13#discussion_r100663508","pull_request_url":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/comments/100663508"},"html":{"href":"https://github.com/hideakinishioka/chat-space/pull/13#discussion_r100663508"},"pull_request":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/13","id":105745286,"html_url":"https://github.com/hideakinishioka/chat-space/pull/13","diff_url":"https://github.com/hideakinishioka/chat-space/pull/13.diff","patch_url":"https://github.com/hideakinishioka/chat-space/pull/13.patch","issue_url":"https://api.github.com/repos/hideakinishioka/chat-space/issues/13","number":13,"state":"open","locked":false,"title":"[wip]test message function","user":{"login":"hideakinishioka","id":24458009,"avatar_url":"https://avatars.githubusercontent.com/u/24458009?v=3","gravatar_id":"","url":"https://api.github.com/users/hideakinishioka","html_url":"https://github.com/hideakinishioka","followers_url":"https://api.github.com/users/hideakinishioka/followers","following_url":"https://api.github.com/users/hideakinishioka/following{/other_user}","gists_url":"https://api.github.com/users/hideakinishioka/gists{/gist_id}","starred_url":"https://api.github.com/users/hideakinishioka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideakinishioka/subscriptions","organizations_url":"https://api.github.com/users/hideakinishioka/orgs","repos_url":"https://api.github.com/users/hideakinishioka/repos","events_url":"https://api.github.com/users/hideakinishioka/events{/privacy}","received_events_url":"https://api.github.com/users/hideakinishioka/received_events","type":"User","site_admin":false},"body":"# what\r\n* Messageモデルのテスト\r\n\r\n# why\r\nメッセージ機能をが設計通りに実装されているかテストするため","created_at":"2017-02-11T07:20:37Z","updated_at":"2017-02-11T08:55:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15fba2f3fabfa278f001f03556f5876fff610bc8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/13/commits","review_comments_url":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/13/comments","review_comment_url":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hideakinishioka/chat-space/issues/13/comments","statuses_url":"https://api.github.com/repos/hideakinishioka/chat-space/statuses/c5a2655d3f47b6d00a5ad68190621c45c96cf229","head":{"label":"hideakinishioka:test_message_function","ref":"test_message_function","sha":"c5a2655d3f47b6d00a5ad68190621c45c96cf229","user":{"login":"hideakinishioka","id":24458009,"avatar_url":"https://avatars.githubusercontent.com/u/24458009?v=3","gravatar_id":"","url":"https://api.github.com/users/hideakinishioka","html_url":"https://github.com/hideakinishioka","followers_url":"https://api.github.com/users/hideakinishioka/followers","following_url":"https://api.github.com/users/hideakinishioka/following{/other_user}","gists_url":"https://api.github.com/users/hideakinishioka/gists{/gist_id}","starred_url":"https://api.github.com/users/hideakinishioka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideakinishioka/subscriptions","organizations_url":"https://api.github.com/users/hideakinishioka/orgs","repos_url":"https://api.github.com/users/hideakinishioka/repos","events_url":"https://api.github.com/users/hideakinishioka/events{/privacy}","received_events_url":"https://api.github.com/users/hideakinishioka/received_events","type":"User","site_admin":false},"repo":{"id":78941890,"name":"chat-space","full_name":"hideakinishioka/chat-space","owner":{"login":"hideakinishioka","id":24458009,"avatar_url":"https://avatars.githubusercontent.com/u/24458009?v=3","gravatar_id":"","url":"https://api.github.com/users/hideakinishioka","html_url":"https://github.com/hideakinishioka","followers_url":"https://api.github.com/users/hideakinishioka/followers","following_url":"https://api.github.com/users/hideakinishioka/following{/other_user}","gists_url":"https://api.github.com/users/hideakinishioka/gists{/gist_id}","starred_url":"https://api.github.com/users/hideakinishioka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideakinishioka/subscriptions","organizations_url":"https://api.github.com/users/hideakinishioka/orgs","repos_url":"https://api.github.com/users/hideakinishioka/repos","events_url":"https://api.github.com/users/hideakinishioka/events{/privacy}","received_events_url":"https://api.github.com/users/hideakinishioka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hideakinishioka/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/hideakinishioka/chat-space","forks_url":"https://api.github.com/repos/hideakinishioka/chat-space/forks","keys_url":"https://api.github.com/repos/hideakinishioka/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hideakinishioka/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hideakinishioka/chat-space/teams","hooks_url":"https://api.github.com/repos/hideakinishioka/chat-space/hooks","issue_events_url":"https://api.github.com/repos/hideakinishioka/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/hideakinishioka/chat-space/events","assignees_url":"https://api.github.com/repos/hideakinishioka/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/hideakinishioka/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/hideakinishioka/chat-space/tags","blobs_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hideakinishioka/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/hideakinishioka/chat-space/languages","stargazers_url":"https://api.github.com/repos/hideakinishioka/chat-space/stargazers","contributors_url":"https://api.github.com/repos/hideakinishioka/chat-space/contributors","subscribers_url":"https://api.github.com/repos/hideakinishioka/chat-space/subscribers","subscription_url":"https://api.github.com/repos/hideakinishioka/chat-space/subscription","commits_url":"https://api.github.com/repos/hideakinishioka/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/hideakinishioka/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/hideakinishioka/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/hideakinishioka/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/hideakinishioka/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hideakinishioka/chat-space/merges","archive_url":"https://api.github.com/repos/hideakinishioka/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hideakinishioka/chat-space/downloads","issues_url":"https://api.github.com/repos/hideakinishioka/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/hideakinishioka/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/hideakinishioka/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/hideakinishioka/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hideakinishioka/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/hideakinishioka/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/hideakinishioka/chat-space/deployments","created_at":"2017-01-14T13:30:00Z","updated_at":"2017-01-15T06:15:13Z","pushed_at":"2017-02-11T08:41:18Z","git_url":"git://github.com/hideakinishioka/chat-space.git","ssh_url":"git@github.com:hideakinishioka/chat-space.git","clone_url":"https://github.com/hideakinishioka/chat-space.git","svn_url":"https://github.com/hideakinishioka/chat-space","homepage":null,"size":101,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"hideakinishioka:master","ref":"master","sha":"1328e57b1d106d1cb953e3b0c14d71467263f865","user":{"login":"hideakinishioka","id":24458009,"avatar_url":"https://avatars.githubusercontent.com/u/24458009?v=3","gravatar_id":"","url":"https://api.github.com/users/hideakinishioka","html_url":"https://github.com/hideakinishioka","followers_url":"https://api.github.com/users/hideakinishioka/followers","following_url":"https://api.github.com/users/hideakinishioka/following{/other_user}","gists_url":"https://api.github.com/users/hideakinishioka/gists{/gist_id}","starred_url":"https://api.github.com/users/hideakinishioka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideakinishioka/subscriptions","organizations_url":"https://api.github.com/users/hideakinishioka/orgs","repos_url":"https://api.github.com/users/hideakinishioka/repos","events_url":"https://api.github.com/users/hideakinishioka/events{/privacy}","received_events_url":"https://api.github.com/users/hideakinishioka/received_events","type":"User","site_admin":false},"repo":{"id":78941890,"name":"chat-space","full_name":"hideakinishioka/chat-space","owner":{"login":"hideakinishioka","id":24458009,"avatar_url":"https://avatars.githubusercontent.com/u/24458009?v=3","gravatar_id":"","url":"https://api.github.com/users/hideakinishioka","html_url":"https://github.com/hideakinishioka","followers_url":"https://api.github.com/users/hideakinishioka/followers","following_url":"https://api.github.com/users/hideakinishioka/following{/other_user}","gists_url":"https://api.github.com/users/hideakinishioka/gists{/gist_id}","starred_url":"https://api.github.com/users/hideakinishioka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideakinishioka/subscriptions","organizations_url":"https://api.github.com/users/hideakinishioka/orgs","repos_url":"https://api.github.com/users/hideakinishioka/repos","events_url":"https://api.github.com/users/hideakinishioka/events{/privacy}","received_events_url":"https://api.github.com/users/hideakinishioka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hideakinishioka/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/hideakinishioka/chat-space","forks_url":"https://api.github.com/repos/hideakinishioka/chat-space/forks","keys_url":"https://api.github.com/repos/hideakinishioka/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hideakinishioka/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hideakinishioka/chat-space/teams","hooks_url":"https://api.github.com/repos/hideakinishioka/chat-space/hooks","issue_events_url":"https://api.github.com/repos/hideakinishioka/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/hideakinishioka/chat-space/events","assignees_url":"https://api.github.com/repos/hideakinishioka/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/hideakinishioka/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/hideakinishioka/chat-space/tags","blobs_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hideakinishioka/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/hideakinishioka/chat-space/languages","stargazers_url":"https://api.github.com/repos/hideakinishioka/chat-space/stargazers","contributors_url":"https://api.github.com/repos/hideakinishioka/chat-space/contributors","subscribers_url":"https://api.github.com/repos/hideakinishioka/chat-space/subscribers","subscription_url":"https://api.github.com/repos/hideakinishioka/chat-space/subscription","commits_url":"https://api.github.com/repos/hideakinishioka/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/hideakinishioka/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/hideakinishioka/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/hideakinishioka/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/hideakinishioka/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/hideakinishioka/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hideakinishioka/chat-space/merges","archive_url":"https://api.github.com/repos/hideakinishioka/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hideakinishioka/chat-space/downloads","issues_url":"https://api.github.com/repos/hideakinishioka/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/hideakinishioka/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/hideakinishioka/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/hideakinishioka/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hideakinishioka/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/hideakinishioka/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/hideakinishioka/chat-space/deployments","created_at":"2017-01-14T13:30:00Z","updated_at":"2017-01-15T06:15:13Z","pushed_at":"2017-02-11T08:41:18Z","git_url":"git://github.com/hideakinishioka/chat-space.git","ssh_url":"git@github.com:hideakinishioka/chat-space.git","clone_url":"https://github.com/hideakinishioka/chat-space.git","svn_url":"https://github.com/hideakinishioka/chat-space","homepage":null,"size":101,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/13"},"html":{"href":"https://github.com/hideakinishioka/chat-space/pull/13"},"issue":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/issues/13"},"comments":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/hideakinishioka/chat-space/statuses/c5a2655d3f47b6d00a5ad68190621c45c96cf229"}}}}
{"actor":{"display_login":"nekoze1210"}}