{"action":"created","comment":{"url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/comments/198007342","pull_request_review_id":131857628,"id":198007342,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODAwNzM0Mg==","diff_hunk":"@@ -43,4 +72,37 @@\n     end\n   end\n \n+  describe \"PATCH #update\" do\n+    context \"ログイン時\" do\n+      context \"ユーザー = 質問の作成者\" do\n+        let(:inquiry) { create(:inquiry) }\n+        before { log_in inquiry.user }\n+        context \"投稿がvalid\" do\n+          before { patch :update, params: { id: inquiry.id, inquiry: attributes_for(:inquiry, body: \"body\") } }","path":"spec/controllers/inquiries_controller_spec.rb","position":46,"original_position":46,"commit_id":"580b7d86ea84c9ed2a3e857532c72c2ca31c18ee","original_commit_id":"580b7d86ea84c9ed2a3e857532c72c2ca31c18ee","user":{"login":"matsuhisa","id":787669,"node_id":"MDQ6VXNlcjc4NzY2OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/787669?v=4","gravatar_id":"","url":"https://api.github.com/users/matsuhisa","html_url":"https://github.com/matsuhisa","followers_url":"https://api.github.com/users/matsuhisa/followers","following_url":"https://api.github.com/users/matsuhisa/following{/other_user}","gists_url":"https://api.github.com/users/matsuhisa/gists{/gist_id}","starred_url":"https://api.github.com/users/matsuhisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsuhisa/subscriptions","organizations_url":"https://api.github.com/users/matsuhisa/orgs","repos_url":"https://api.github.com/users/matsuhisa/repos","events_url":"https://api.github.com/users/matsuhisa/events{/privacy}","received_events_url":"https://api.github.com/users/matsuhisa/received_events","type":"User","site_admin":false},"body":"subject にすることはできないかな？と思いました","created_at":"2018-06-26T04:02:05Z","updated_at":"2018-06-26T04:02:40Z","html_url":"https://github.com/nihondanuki/pilotprojectwiki/pull/19#discussion_r198007342","pull_request_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/19","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/comments/198007342"},"html":{"href":"https://github.com/nihondanuki/pilotprojectwiki/pull/19#discussion_r198007342"},"pull_request":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/19","id":197063240,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MDYzMjQw","html_url":"https://github.com/nihondanuki/pilotprojectwiki/pull/19","diff_url":"https://github.com/nihondanuki/pilotprojectwiki/pull/19.diff","patch_url":"https://github.com/nihondanuki/pilotprojectwiki/pull/19.patch","issue_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues/19","number":19,"state":"open","locked":false,"title":"編集できるようにする","user":{"login":"nihondanuki","id":39048846,"node_id":"MDQ6VXNlcjM5MDQ4ODQ2","avatar_url":"https://avatars1.githubusercontent.com/u/39048846?v=4","gravatar_id":"","url":"https://api.github.com/users/nihondanuki","html_url":"https://github.com/nihondanuki","followers_url":"https://api.github.com/users/nihondanuki/followers","following_url":"https://api.github.com/users/nihondanuki/following{/other_user}","gists_url":"https://api.github.com/users/nihondanuki/gists{/gist_id}","starred_url":"https://api.github.com/users/nihondanuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihondanuki/subscriptions","organizations_url":"https://api.github.com/users/nihondanuki/orgs","repos_url":"https://api.github.com/users/nihondanuki/repos","events_url":"https://api.github.com/users/nihondanuki/events{/privacy}","received_events_url":"https://api.github.com/users/nihondanuki/received_events","type":"User","site_admin":false},"body":"# 目的\r\nupdateを実装する\r\n# やること\r\nupdateの編集\r\nテスト\r\nビューの作成\r\n# 見た目\r\n![localhost_3000_inquiries_19_edit](https://user-images.githubusercontent.com/39048846/41844505-61280ff4-78ab-11e8-921f-9bb560228f4d.png)\r\n","created_at":"2018-06-25T10:08:56Z","updated_at":"2018-06-26T04:02:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6665bc78924e4cf2e7c7f96ad3a8604f4707201b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kazumalab","id":11866637,"node_id":"MDQ6VXNlcjExODY2NjM3","avatar_url":"https://avatars2.githubusercontent.com/u/11866637?v=4","gravatar_id":"","url":"https://api.github.com/users/kazumalab","html_url":"https://github.com/kazumalab","followers_url":"https://api.github.com/users/kazumalab/followers","following_url":"https://api.github.com/users/kazumalab/following{/other_user}","gists_url":"https://api.github.com/users/kazumalab/gists{/gist_id}","starred_url":"https://api.github.com/users/kazumalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazumalab/subscriptions","organizations_url":"https://api.github.com/users/kazumalab/orgs","repos_url":"https://api.github.com/users/kazumalab/repos","events_url":"https://api.github.com/users/kazumalab/events{/privacy}","received_events_url":"https://api.github.com/users/kazumalab/received_events","type":"User","site_admin":false},{"login":"kiyokuro","id":12742022,"node_id":"MDQ6VXNlcjEyNzQyMDIy","avatar_url":"https://avatars1.githubusercontent.com/u/12742022?v=4","gravatar_id":"","url":"https://api.github.com/users/kiyokuro","html_url":"https://github.com/kiyokuro","followers_url":"https://api.github.com/users/kiyokuro/followers","following_url":"https://api.github.com/users/kiyokuro/following{/other_user}","gists_url":"https://api.github.com/users/kiyokuro/gists{/gist_id}","starred_url":"https://api.github.com/users/kiyokuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiyokuro/subscriptions","organizations_url":"https://api.github.com/users/kiyokuro/orgs","repos_url":"https://api.github.com/users/kiyokuro/repos","events_url":"https://api.github.com/users/kiyokuro/events{/privacy}","received_events_url":"https://api.github.com/users/kiyokuro/received_events","type":"User","site_admin":false},{"login":"HamaguchiRyosuke","id":28912065,"node_id":"MDQ6VXNlcjI4OTEyMDY1","avatar_url":"https://avatars3.githubusercontent.com/u/28912065?v=4","gravatar_id":"","url":"https://api.github.com/users/HamaguchiRyosuke","html_url":"https://github.com/HamaguchiRyosuke","followers_url":"https://api.github.com/users/HamaguchiRyosuke/followers","following_url":"https://api.github.com/users/HamaguchiRyosuke/following{/other_user}","gists_url":"https://api.github.com/users/HamaguchiRyosuke/gists{/gist_id}","starred_url":"https://api.github.com/users/HamaguchiRyosuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HamaguchiRyosuke/subscriptions","organizations_url":"https://api.github.com/users/HamaguchiRyosuke/orgs","repos_url":"https://api.github.com/users/HamaguchiRyosuke/repos","events_url":"https://api.github.com/users/HamaguchiRyosuke/events{/privacy}","received_events_url":"https://api.github.com/users/HamaguchiRyosuke/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/19/commits","review_comments_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/19/comments","review_comment_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues/19/comments","statuses_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/statuses/580b7d86ea84c9ed2a3e857532c72c2ca31c18ee","head":{"label":"nihondanuki:update","ref":"update","sha":"580b7d86ea84c9ed2a3e857532c72c2ca31c18ee","user":{"login":"nihondanuki","id":39048846,"node_id":"MDQ6VXNlcjM5MDQ4ODQ2","avatar_url":"https://avatars1.githubusercontent.com/u/39048846?v=4","gravatar_id":"","url":"https://api.github.com/users/nihondanuki","html_url":"https://github.com/nihondanuki","followers_url":"https://api.github.com/users/nihondanuki/followers","following_url":"https://api.github.com/users/nihondanuki/following{/other_user}","gists_url":"https://api.github.com/users/nihondanuki/gists{/gist_id}","starred_url":"https://api.github.com/users/nihondanuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihondanuki/subscriptions","organizations_url":"https://api.github.com/users/nihondanuki/orgs","repos_url":"https://api.github.com/users/nihondanuki/repos","events_url":"https://api.github.com/users/nihondanuki/events{/privacy}","received_events_url":"https://api.github.com/users/nihondanuki/received_events","type":"User","site_admin":false},"repo":{"id":136548287,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY1NDgyODc=","name":"pilotprojectwiki","full_name":"nihondanuki/pilotprojectwiki","owner":{"login":"nihondanuki","id":39048846,"node_id":"MDQ6VXNlcjM5MDQ4ODQ2","avatar_url":"https://avatars1.githubusercontent.com/u/39048846?v=4","gravatar_id":"","url":"https://api.github.com/users/nihondanuki","html_url":"https://github.com/nihondanuki","followers_url":"https://api.github.com/users/nihondanuki/followers","following_url":"https://api.github.com/users/nihondanuki/following{/other_user}","gists_url":"https://api.github.com/users/nihondanuki/gists{/gist_id}","starred_url":"https://api.github.com/users/nihondanuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihondanuki/subscriptions","organizations_url":"https://api.github.com/users/nihondanuki/orgs","repos_url":"https://api.github.com/users/nihondanuki/repos","events_url":"https://api.github.com/users/nihondanuki/events{/privacy}","received_events_url":"https://api.github.com/users/nihondanuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nihondanuki/pilotprojectwiki","description":null,"fork":false,"url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki","forks_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/forks","keys_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/teams","hooks_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/hooks","issue_events_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues/events{/number}","events_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/events","assignees_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/assignees{/user}","branches_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/branches{/branch}","tags_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/tags","blobs_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/statuses/{sha}","languages_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/languages","stargazers_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/stargazers","contributors_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/contributors","subscribers_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/subscribers","subscription_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/subscription","commits_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/contents/{+path}","compare_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/merges","archive_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/downloads","issues_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues{/number}","pulls_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls{/number}","milestones_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/milestones{/number}","notifications_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/labels{/name}","releases_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/releases{/id}","deployments_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/deployments","created_at":"2018-06-08T01:07:47Z","updated_at":"2018-06-25T08:50:40Z","pushed_at":"2018-06-26T03:52:07Z","git_url":"git://github.com/nihondanuki/pilotprojectwiki.git","ssh_url":"git@github.com:nihondanuki/pilotprojectwiki.git","clone_url":"https://github.com/nihondanuki/pilotprojectwiki.git","svn_url":"https://github.com/nihondanuki/pilotprojectwiki","homepage":null,"size":267,"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":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"nihondanuki:master","ref":"master","sha":"f48d93b1d11f946190821055e5e4959547ed9439","user":{"login":"nihondanuki","id":39048846,"node_id":"MDQ6VXNlcjM5MDQ4ODQ2","avatar_url":"https://avatars1.githubusercontent.com/u/39048846?v=4","gravatar_id":"","url":"https://api.github.com/users/nihondanuki","html_url":"https://github.com/nihondanuki","followers_url":"https://api.github.com/users/nihondanuki/followers","following_url":"https://api.github.com/users/nihondanuki/following{/other_user}","gists_url":"https://api.github.com/users/nihondanuki/gists{/gist_id}","starred_url":"https://api.github.com/users/nihondanuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihondanuki/subscriptions","organizations_url":"https://api.github.com/users/nihondanuki/orgs","repos_url":"https://api.github.com/users/nihondanuki/repos","events_url":"https://api.github.com/users/nihondanuki/events{/privacy}","received_events_url":"https://api.github.com/users/nihondanuki/received_events","type":"User","site_admin":false},"repo":{"id":136548287,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY1NDgyODc=","name":"pilotprojectwiki","full_name":"nihondanuki/pilotprojectwiki","owner":{"login":"nihondanuki","id":39048846,"node_id":"MDQ6VXNlcjM5MDQ4ODQ2","avatar_url":"https://avatars1.githubusercontent.com/u/39048846?v=4","gravatar_id":"","url":"https://api.github.com/users/nihondanuki","html_url":"https://github.com/nihondanuki","followers_url":"https://api.github.com/users/nihondanuki/followers","following_url":"https://api.github.com/users/nihondanuki/following{/other_user}","gists_url":"https://api.github.com/users/nihondanuki/gists{/gist_id}","starred_url":"https://api.github.com/users/nihondanuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihondanuki/subscriptions","organizations_url":"https://api.github.com/users/nihondanuki/orgs","repos_url":"https://api.github.com/users/nihondanuki/repos","events_url":"https://api.github.com/users/nihondanuki/events{/privacy}","received_events_url":"https://api.github.com/users/nihondanuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nihondanuki/pilotprojectwiki","description":null,"fork":false,"url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki","forks_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/forks","keys_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/teams","hooks_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/hooks","issue_events_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues/events{/number}","events_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/events","assignees_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/assignees{/user}","branches_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/branches{/branch}","tags_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/tags","blobs_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/statuses/{sha}","languages_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/languages","stargazers_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/stargazers","contributors_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/contributors","subscribers_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/subscribers","subscription_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/subscription","commits_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/contents/{+path}","compare_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/merges","archive_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/downloads","issues_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues{/number}","pulls_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls{/number}","milestones_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/milestones{/number}","notifications_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/labels{/name}","releases_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/releases{/id}","deployments_url":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/deployments","created_at":"2018-06-08T01:07:47Z","updated_at":"2018-06-25T08:50:40Z","pushed_at":"2018-06-26T03:52:07Z","git_url":"git://github.com/nihondanuki/pilotprojectwiki.git","ssh_url":"git@github.com:nihondanuki/pilotprojectwiki.git","clone_url":"https://github.com/nihondanuki/pilotprojectwiki.git","svn_url":"https://github.com/nihondanuki/pilotprojectwiki","homepage":null,"size":267,"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":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/19"},"html":{"href":"https://github.com/nihondanuki/pilotprojectwiki/pull/19"},"issue":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues/19"},"comments":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/nihondanuki/pilotprojectwiki/statuses/580b7d86ea84c9ed2a3e857532c72c2ca31c18ee"}},"author_association":"OWNER"}}
{"actor":{"display_login":"matsuhisa"}}