{"action":"created","comment":{"url":"https://api.github.com/repos/junk83/chat-space/pulls/comments/91676476","pull_request_review_id":12186630,"id":91676476,"diff_hunk":"@@ -19,7 +26,7 @@\n \n       it \"redirects to the group messages path\" do\n         post :create, params: { message: attributes_for(:message), group_id: group.id, user_id: user.id }\n-        expect(response).to redirect_to group_messages_path\n+        expect(response).to redirect_to group_messages_path(assigns(:group))\n       end","path":"spec/controllers/messages_controller_spec.rb","position":null,"original_position":35,"commit_id":"a35db8cc6606253d3383e705a2d1020f18012200","original_commit_id":"a35db8cc6606253d3383e705a2d1020f18012200","user":{"login":"narukami894","id":20283700,"avatar_url":"https://avatars.githubusercontent.com/u/20283700?v=3","gravatar_id":"","url":"https://api.github.com/users/narukami894","html_url":"https://github.com/narukami894","followers_url":"https://api.github.com/users/narukami894/followers","following_url":"https://api.github.com/users/narukami894/following{/other_user}","gists_url":"https://api.github.com/users/narukami894/gists{/gist_id}","starred_url":"https://api.github.com/users/narukami894/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narukami894/subscriptions","organizations_url":"https://api.github.com/users/narukami894/orgs","repos_url":"https://api.github.com/users/narukami894/repos","events_url":"https://api.github.com/users/narukami894/events{/privacy}","received_events_url":"https://api.github.com/users/narukami894/received_events","type":"User","site_admin":false},"body":"正しくredirectされるかどうかと、インスタンス変数が正しい中身になるかは、別のテストをしてあげましょう！","created_at":"2016-12-09T08:40:57Z","updated_at":"2016-12-09T08:40:57Z","html_url":"https://github.com/junk83/chat-space/pull/10#discussion_r91676476","pull_request_url":"https://api.github.com/repos/junk83/chat-space/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/junk83/chat-space/pulls/comments/91676476"},"html":{"href":"https://github.com/junk83/chat-space/pull/10#discussion_r91676476"},"pull_request":{"href":"https://api.github.com/repos/junk83/chat-space/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/junk83/chat-space/pulls/10","id":97072100,"html_url":"https://github.com/junk83/chat-space/pull/10","diff_url":"https://github.com/junk83/chat-space/pull/10.diff","patch_url":"https://github.com/junk83/chat-space/pull/10.patch","issue_url":"https://api.github.com/repos/junk83/chat-space/issues/10","number":10,"state":"open","locked":false,"title":"Testing send message function","user":{"login":"junk83","id":11794397,"avatar_url":"https://avatars.githubusercontent.com/u/11794397?v=3","gravatar_id":"","url":"https://api.github.com/users/junk83","html_url":"https://github.com/junk83","followers_url":"https://api.github.com/users/junk83/followers","following_url":"https://api.github.com/users/junk83/following{/other_user}","gists_url":"https://api.github.com/users/junk83/gists{/gist_id}","starred_url":"https://api.github.com/users/junk83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junk83/subscriptions","organizations_url":"https://api.github.com/users/junk83/orgs","repos_url":"https://api.github.com/users/junk83/repos","events_url":"https://api.github.com/users/junk83/events{/privacy}","received_events_url":"https://api.github.com/users/junk83/received_events","type":"User","site_admin":false},"body":"# WHAT\r\nTesting a validation of messaege model\r\nTesting a create action of messages controller\r\n\r\n# WHY\r\nTo ensure the quality of send message function","created_at":"2016-12-08T07:30:30Z","updated_at":"2016-12-09T08:40:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a30d605c560425571db0657df0986aa61e9d95c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/junk83/chat-space/pulls/10/commits","review_comments_url":"https://api.github.com/repos/junk83/chat-space/pulls/10/comments","review_comment_url":"https://api.github.com/repos/junk83/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/junk83/chat-space/issues/10/comments","statuses_url":"https://api.github.com/repos/junk83/chat-space/statuses/a35db8cc6606253d3383e705a2d1020f18012200","head":{"label":"junk83:send-message-test","ref":"send-message-test","sha":"a35db8cc6606253d3383e705a2d1020f18012200","user":{"login":"junk83","id":11794397,"avatar_url":"https://avatars.githubusercontent.com/u/11794397?v=3","gravatar_id":"","url":"https://api.github.com/users/junk83","html_url":"https://github.com/junk83","followers_url":"https://api.github.com/users/junk83/followers","following_url":"https://api.github.com/users/junk83/following{/other_user}","gists_url":"https://api.github.com/users/junk83/gists{/gist_id}","starred_url":"https://api.github.com/users/junk83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junk83/subscriptions","organizations_url":"https://api.github.com/users/junk83/orgs","repos_url":"https://api.github.com/users/junk83/repos","events_url":"https://api.github.com/users/junk83/events{/privacy}","received_events_url":"https://api.github.com/users/junk83/received_events","type":"User","site_admin":false},"repo":{"id":75055456,"name":"chat-space","full_name":"junk83/chat-space","owner":{"login":"junk83","id":11794397,"avatar_url":"https://avatars.githubusercontent.com/u/11794397?v=3","gravatar_id":"","url":"https://api.github.com/users/junk83","html_url":"https://github.com/junk83","followers_url":"https://api.github.com/users/junk83/followers","following_url":"https://api.github.com/users/junk83/following{/other_user}","gists_url":"https://api.github.com/users/junk83/gists{/gist_id}","starred_url":"https://api.github.com/users/junk83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junk83/subscriptions","organizations_url":"https://api.github.com/users/junk83/orgs","repos_url":"https://api.github.com/users/junk83/repos","events_url":"https://api.github.com/users/junk83/events{/privacy}","received_events_url":"https://api.github.com/users/junk83/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/junk83/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/junk83/chat-space","forks_url":"https://api.github.com/repos/junk83/chat-space/forks","keys_url":"https://api.github.com/repos/junk83/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/junk83/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/junk83/chat-space/teams","hooks_url":"https://api.github.com/repos/junk83/chat-space/hooks","issue_events_url":"https://api.github.com/repos/junk83/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/junk83/chat-space/events","assignees_url":"https://api.github.com/repos/junk83/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/junk83/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/junk83/chat-space/tags","blobs_url":"https://api.github.com/repos/junk83/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/junk83/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/junk83/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/junk83/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/junk83/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/junk83/chat-space/languages","stargazers_url":"https://api.github.com/repos/junk83/chat-space/stargazers","contributors_url":"https://api.github.com/repos/junk83/chat-space/contributors","subscribers_url":"https://api.github.com/repos/junk83/chat-space/subscribers","subscription_url":"https://api.github.com/repos/junk83/chat-space/subscription","commits_url":"https://api.github.com/repos/junk83/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/junk83/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/junk83/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/junk83/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/junk83/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/junk83/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/junk83/chat-space/merges","archive_url":"https://api.github.com/repos/junk83/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/junk83/chat-space/downloads","issues_url":"https://api.github.com/repos/junk83/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/junk83/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/junk83/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/junk83/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/junk83/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/junk83/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/junk83/chat-space/deployments","created_at":"2016-11-29T07:35:13Z","updated_at":"2016-11-29T07:36:30Z","pushed_at":"2016-12-09T08:24:14Z","git_url":"git://github.com/junk83/chat-space.git","ssh_url":"git@github.com:junk83/chat-space.git","clone_url":"https://github.com/junk83/chat-space.git","svn_url":"https://github.com/junk83/chat-space","homepage":null,"size":109,"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":"junk83:master","ref":"master","sha":"bb379a752308703b0b40a57068802a0c94f6329c","user":{"login":"junk83","id":11794397,"avatar_url":"https://avatars.githubusercontent.com/u/11794397?v=3","gravatar_id":"","url":"https://api.github.com/users/junk83","html_url":"https://github.com/junk83","followers_url":"https://api.github.com/users/junk83/followers","following_url":"https://api.github.com/users/junk83/following{/other_user}","gists_url":"https://api.github.com/users/junk83/gists{/gist_id}","starred_url":"https://api.github.com/users/junk83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junk83/subscriptions","organizations_url":"https://api.github.com/users/junk83/orgs","repos_url":"https://api.github.com/users/junk83/repos","events_url":"https://api.github.com/users/junk83/events{/privacy}","received_events_url":"https://api.github.com/users/junk83/received_events","type":"User","site_admin":false},"repo":{"id":75055456,"name":"chat-space","full_name":"junk83/chat-space","owner":{"login":"junk83","id":11794397,"avatar_url":"https://avatars.githubusercontent.com/u/11794397?v=3","gravatar_id":"","url":"https://api.github.com/users/junk83","html_url":"https://github.com/junk83","followers_url":"https://api.github.com/users/junk83/followers","following_url":"https://api.github.com/users/junk83/following{/other_user}","gists_url":"https://api.github.com/users/junk83/gists{/gist_id}","starred_url":"https://api.github.com/users/junk83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junk83/subscriptions","organizations_url":"https://api.github.com/users/junk83/orgs","repos_url":"https://api.github.com/users/junk83/repos","events_url":"https://api.github.com/users/junk83/events{/privacy}","received_events_url":"https://api.github.com/users/junk83/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/junk83/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/junk83/chat-space","forks_url":"https://api.github.com/repos/junk83/chat-space/forks","keys_url":"https://api.github.com/repos/junk83/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/junk83/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/junk83/chat-space/teams","hooks_url":"https://api.github.com/repos/junk83/chat-space/hooks","issue_events_url":"https://api.github.com/repos/junk83/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/junk83/chat-space/events","assignees_url":"https://api.github.com/repos/junk83/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/junk83/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/junk83/chat-space/tags","blobs_url":"https://api.github.com/repos/junk83/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/junk83/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/junk83/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/junk83/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/junk83/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/junk83/chat-space/languages","stargazers_url":"https://api.github.com/repos/junk83/chat-space/stargazers","contributors_url":"https://api.github.com/repos/junk83/chat-space/contributors","subscribers_url":"https://api.github.com/repos/junk83/chat-space/subscribers","subscription_url":"https://api.github.com/repos/junk83/chat-space/subscription","commits_url":"https://api.github.com/repos/junk83/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/junk83/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/junk83/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/junk83/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/junk83/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/junk83/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/junk83/chat-space/merges","archive_url":"https://api.github.com/repos/junk83/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/junk83/chat-space/downloads","issues_url":"https://api.github.com/repos/junk83/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/junk83/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/junk83/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/junk83/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/junk83/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/junk83/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/junk83/chat-space/deployments","created_at":"2016-11-29T07:35:13Z","updated_at":"2016-11-29T07:36:30Z","pushed_at":"2016-12-09T08:24:14Z","git_url":"git://github.com/junk83/chat-space.git","ssh_url":"git@github.com:junk83/chat-space.git","clone_url":"https://github.com/junk83/chat-space.git","svn_url":"https://github.com/junk83/chat-space","homepage":null,"size":109,"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/junk83/chat-space/pulls/10"},"html":{"href":"https://github.com/junk83/chat-space/pull/10"},"issue":{"href":"https://api.github.com/repos/junk83/chat-space/issues/10"},"comments":{"href":"https://api.github.com/repos/junk83/chat-space/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/junk83/chat-space/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/junk83/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/junk83/chat-space/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/junk83/chat-space/statuses/a35db8cc6606253d3383e705a2d1020f18012200"}}}}
{"actor":{"display_login":"narukami894"}}