{"action":"created","comment":{"url":"https://api.github.com/repos/hr-dash/hr-dash/pulls/comments/60845718","id":60845718,"diff_hunk":"@@ -49,34 +71,67 @@\n     context 'valid' do\n       before do\n         login profile.user\n-        get edit_user_profile_path(id: profile.id)\n+        get edit_user_profile_path(profile)\n       end\n \n       it { expect(response).to have_http_status :success }\n       it { expect(response).to render_template 'user_profiles/edit' }\n     end\n \n     context 'invalid' do\n-      let(:invalid_id) { profile.id + 1 }\n+      let(:other_user) { create(:user) }\n       before do\n-        login profile.user\n-        get edit_user_profile_path(id: invalid_id)\n+        login other_user\n+        get edit_user_profile_path(profile)","path":"spec/requests/user_profile_spec.rb","position":59,"original_position":59,"commit_id":"519fe0ddae3e30ec6183381eb0c3daafd00c5b52","original_commit_id":"519fe0ddae3e30ec6183381eb0c3daafd00c5b52","user":{"login":"bakunyo","id":2487437,"avatar_url":"https://avatars.githubusercontent.com/u/2487437?v=3","gravatar_id":"","url":"https://api.github.com/users/bakunyo","html_url":"https://github.com/bakunyo","followers_url":"https://api.github.com/users/bakunyo/followers","following_url":"https://api.github.com/users/bakunyo/following{/other_user}","gists_url":"https://api.github.com/users/bakunyo/gists{/gist_id}","starred_url":"https://api.github.com/users/bakunyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakunyo/subscriptions","organizations_url":"https://api.github.com/users/bakunyo/orgs","repos_url":"https://api.github.com/users/bakunyo/repos","events_url":"https://api.github.com/users/bakunyo/events{/privacy}","received_events_url":"https://api.github.com/users/bakunyo/received_events","type":"User","site_admin":false},"body":"あぁごめん、それは出来無さそうだね","created_at":"2016-04-24T14:49:52Z","updated_at":"2016-04-24T14:49:52Z","html_url":"https://github.com/hr-dash/hr-dash/pull/204#discussion_r60845718","pull_request_url":"https://api.github.com/repos/hr-dash/hr-dash/pulls/204","_links":{"self":{"href":"https://api.github.com/repos/hr-dash/hr-dash/pulls/comments/60845718"},"html":{"href":"https://github.com/hr-dash/hr-dash/pull/204#discussion_r60845718"},"pull_request":{"href":"https://api.github.com/repos/hr-dash/hr-dash/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/hr-dash/hr-dash/pulls/204","id":67628965,"html_url":"https://github.com/hr-dash/hr-dash/pull/204","diff_url":"https://github.com/hr-dash/hr-dash/pull/204.diff","patch_url":"https://github.com/hr-dash/hr-dash/pull/204.patch","issue_url":"https://api.github.com/repos/hr-dash/hr-dash/issues/204","number":204,"state":"open","locked":false,"title":"Dev/profile update","user":{"login":"ta-chibana","id":12688123,"avatar_url":"https://avatars.githubusercontent.com/u/12688123?v=3","gravatar_id":"","url":"https://api.github.com/users/ta-chibana","html_url":"https://github.com/ta-chibana","followers_url":"https://api.github.com/users/ta-chibana/followers","following_url":"https://api.github.com/users/ta-chibana/following{/other_user}","gists_url":"https://api.github.com/users/ta-chibana/gists{/gist_id}","starred_url":"https://api.github.com/users/ta-chibana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta-chibana/subscriptions","organizations_url":"https://api.github.com/users/ta-chibana/orgs","repos_url":"https://api.github.com/users/ta-chibana/repos","events_url":"https://api.github.com/users/ta-chibana/events{/privacy}","received_events_url":"https://api.github.com/users/ta-chibana/received_events","type":"User","site_admin":false},"body":"## #56 [Controller] プロフィール Update\r\n\r\n### UserProfileController#update\r\n\r\n- プロフィール編集成功時にプロフィール閲覧画面にフォワードするように修正\r\n- プロフィール編集失敗時にプロフィール編集画面にリダイレクトするように修正\r\n- 自分以外のユーザーのプロフィールを編集しようとすると404に\r\n- プロフィール閲覧画面のサンプル削除","created_at":"2016-04-24T06:24:43Z","updated_at":"2016-04-24T14:49:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92021cb0fa36de16c958d31d147aea7763ff4af7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hr-dash/hr-dash/pulls/204/commits","review_comments_url":"https://api.github.com/repos/hr-dash/hr-dash/pulls/204/comments","review_comment_url":"https://api.github.com/repos/hr-dash/hr-dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hr-dash/hr-dash/issues/204/comments","statuses_url":"https://api.github.com/repos/hr-dash/hr-dash/statuses/519fe0ddae3e30ec6183381eb0c3daafd00c5b52","head":{"label":"hr-dash:dev/profile-update","ref":"dev/profile-update","sha":"519fe0ddae3e30ec6183381eb0c3daafd00c5b52","user":{"login":"hr-dash","id":14330339,"avatar_url":"https://avatars.githubusercontent.com/u/14330339?v=3","gravatar_id":"","url":"https://api.github.com/users/hr-dash","html_url":"https://github.com/hr-dash","followers_url":"https://api.github.com/users/hr-dash/followers","following_url":"https://api.github.com/users/hr-dash/following{/other_user}","gists_url":"https://api.github.com/users/hr-dash/gists{/gist_id}","starred_url":"https://api.github.com/users/hr-dash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hr-dash/subscriptions","organizations_url":"https://api.github.com/users/hr-dash/orgs","repos_url":"https://api.github.com/users/hr-dash/repos","events_url":"https://api.github.com/users/hr-dash/events{/privacy}","received_events_url":"https://api.github.com/users/hr-dash/received_events","type":"Organization","site_admin":false},"repo":{"id":42654368,"name":"hr-dash","full_name":"hr-dash/hr-dash","owner":{"login":"hr-dash","id":14330339,"avatar_url":"https://avatars.githubusercontent.com/u/14330339?v=3","gravatar_id":"","url":"https://api.github.com/users/hr-dash","html_url":"https://github.com/hr-dash","followers_url":"https://api.github.com/users/hr-dash/followers","following_url":"https://api.github.com/users/hr-dash/following{/other_user}","gists_url":"https://api.github.com/users/hr-dash/gists{/gist_id}","starred_url":"https://api.github.com/users/hr-dash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hr-dash/subscriptions","organizations_url":"https://api.github.com/users/hr-dash/orgs","repos_url":"https://api.github.com/users/hr-dash/repos","events_url":"https://api.github.com/users/hr-dash/events{/privacy}","received_events_url":"https://api.github.com/users/hr-dash/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hr-dash/hr-dash","description":"","fork":false,"url":"https://api.github.com/repos/hr-dash/hr-dash","forks_url":"https://api.github.com/repos/hr-dash/hr-dash/forks","keys_url":"https://api.github.com/repos/hr-dash/hr-dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hr-dash/hr-dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hr-dash/hr-dash/teams","hooks_url":"https://api.github.com/repos/hr-dash/hr-dash/hooks","issue_events_url":"https://api.github.com/repos/hr-dash/hr-dash/issues/events{/number}","events_url":"https://api.github.com/repos/hr-dash/hr-dash/events","assignees_url":"https://api.github.com/repos/hr-dash/hr-dash/assignees{/user}","branches_url":"https://api.github.com/repos/hr-dash/hr-dash/branches{/branch}","tags_url":"https://api.github.com/repos/hr-dash/hr-dash/tags","blobs_url":"https://api.github.com/repos/hr-dash/hr-dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hr-dash/hr-dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hr-dash/hr-dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/hr-dash/hr-dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hr-dash/hr-dash/statuses/{sha}","languages_url":"https://api.github.com/repos/hr-dash/hr-dash/languages","stargazers_url":"https://api.github.com/repos/hr-dash/hr-dash/stargazers","contributors_url":"https://api.github.com/repos/hr-dash/hr-dash/contributors","subscribers_url":"https://api.github.com/repos/hr-dash/hr-dash/subscribers","subscription_url":"https://api.github.com/repos/hr-dash/hr-dash/subscription","commits_url":"https://api.github.com/repos/hr-dash/hr-dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/hr-dash/hr-dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/hr-dash/hr-dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/hr-dash/hr-dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/hr-dash/hr-dash/contents/{+path}","compare_url":"https://api.github.com/repos/hr-dash/hr-dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hr-dash/hr-dash/merges","archive_url":"https://api.github.com/repos/hr-dash/hr-dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hr-dash/hr-dash/downloads","issues_url":"https://api.github.com/repos/hr-dash/hr-dash/issues{/number}","pulls_url":"https://api.github.com/repos/hr-dash/hr-dash/pulls{/number}","milestones_url":"https://api.github.com/repos/hr-dash/hr-dash/milestones{/number}","notifications_url":"https://api.github.com/repos/hr-dash/hr-dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hr-dash/hr-dash/labels{/name}","releases_url":"https://api.github.com/repos/hr-dash/hr-dash/releases{/id}","deployments_url":"https://api.github.com/repos/hr-dash/hr-dash/deployments","created_at":"2015-09-17T12:15:06Z","updated_at":"2016-01-13T13:26:20Z","pushed_at":"2016-04-24T14:10:51Z","git_url":"git://github.com/hr-dash/hr-dash.git","ssh_url":"git@github.com:hr-dash/hr-dash.git","clone_url":"https://github.com/hr-dash/hr-dash.git","svn_url":"https://github.com/hr-dash/hr-dash","homepage":null,"size":648,"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":37,"forks":0,"open_issues":37,"watchers":1,"default_branch":"develop"}},"base":{"label":"hr-dash:develop","ref":"develop","sha":"a3d042eecb50dd0643f00011888c36261215f25a","user":{"login":"hr-dash","id":14330339,"avatar_url":"https://avatars.githubusercontent.com/u/14330339?v=3","gravatar_id":"","url":"https://api.github.com/users/hr-dash","html_url":"https://github.com/hr-dash","followers_url":"https://api.github.com/users/hr-dash/followers","following_url":"https://api.github.com/users/hr-dash/following{/other_user}","gists_url":"https://api.github.com/users/hr-dash/gists{/gist_id}","starred_url":"https://api.github.com/users/hr-dash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hr-dash/subscriptions","organizations_url":"https://api.github.com/users/hr-dash/orgs","repos_url":"https://api.github.com/users/hr-dash/repos","events_url":"https://api.github.com/users/hr-dash/events{/privacy}","received_events_url":"https://api.github.com/users/hr-dash/received_events","type":"Organization","site_admin":false},"repo":{"id":42654368,"name":"hr-dash","full_name":"hr-dash/hr-dash","owner":{"login":"hr-dash","id":14330339,"avatar_url":"https://avatars.githubusercontent.com/u/14330339?v=3","gravatar_id":"","url":"https://api.github.com/users/hr-dash","html_url":"https://github.com/hr-dash","followers_url":"https://api.github.com/users/hr-dash/followers","following_url":"https://api.github.com/users/hr-dash/following{/other_user}","gists_url":"https://api.github.com/users/hr-dash/gists{/gist_id}","starred_url":"https://api.github.com/users/hr-dash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hr-dash/subscriptions","organizations_url":"https://api.github.com/users/hr-dash/orgs","repos_url":"https://api.github.com/users/hr-dash/repos","events_url":"https://api.github.com/users/hr-dash/events{/privacy}","received_events_url":"https://api.github.com/users/hr-dash/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hr-dash/hr-dash","description":"","fork":false,"url":"https://api.github.com/repos/hr-dash/hr-dash","forks_url":"https://api.github.com/repos/hr-dash/hr-dash/forks","keys_url":"https://api.github.com/repos/hr-dash/hr-dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hr-dash/hr-dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hr-dash/hr-dash/teams","hooks_url":"https://api.github.com/repos/hr-dash/hr-dash/hooks","issue_events_url":"https://api.github.com/repos/hr-dash/hr-dash/issues/events{/number}","events_url":"https://api.github.com/repos/hr-dash/hr-dash/events","assignees_url":"https://api.github.com/repos/hr-dash/hr-dash/assignees{/user}","branches_url":"https://api.github.com/repos/hr-dash/hr-dash/branches{/branch}","tags_url":"https://api.github.com/repos/hr-dash/hr-dash/tags","blobs_url":"https://api.github.com/repos/hr-dash/hr-dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hr-dash/hr-dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hr-dash/hr-dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/hr-dash/hr-dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hr-dash/hr-dash/statuses/{sha}","languages_url":"https://api.github.com/repos/hr-dash/hr-dash/languages","stargazers_url":"https://api.github.com/repos/hr-dash/hr-dash/stargazers","contributors_url":"https://api.github.com/repos/hr-dash/hr-dash/contributors","subscribers_url":"https://api.github.com/repos/hr-dash/hr-dash/subscribers","subscription_url":"https://api.github.com/repos/hr-dash/hr-dash/subscription","commits_url":"https://api.github.com/repos/hr-dash/hr-dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/hr-dash/hr-dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/hr-dash/hr-dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/hr-dash/hr-dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/hr-dash/hr-dash/contents/{+path}","compare_url":"https://api.github.com/repos/hr-dash/hr-dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hr-dash/hr-dash/merges","archive_url":"https://api.github.com/repos/hr-dash/hr-dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hr-dash/hr-dash/downloads","issues_url":"https://api.github.com/repos/hr-dash/hr-dash/issues{/number}","pulls_url":"https://api.github.com/repos/hr-dash/hr-dash/pulls{/number}","milestones_url":"https://api.github.com/repos/hr-dash/hr-dash/milestones{/number}","notifications_url":"https://api.github.com/repos/hr-dash/hr-dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hr-dash/hr-dash/labels{/name}","releases_url":"https://api.github.com/repos/hr-dash/hr-dash/releases{/id}","deployments_url":"https://api.github.com/repos/hr-dash/hr-dash/deployments","created_at":"2015-09-17T12:15:06Z","updated_at":"2016-01-13T13:26:20Z","pushed_at":"2016-04-24T14:10:51Z","git_url":"git://github.com/hr-dash/hr-dash.git","ssh_url":"git@github.com:hr-dash/hr-dash.git","clone_url":"https://github.com/hr-dash/hr-dash.git","svn_url":"https://github.com/hr-dash/hr-dash","homepage":null,"size":648,"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":37,"forks":0,"open_issues":37,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/hr-dash/hr-dash/pulls/204"},"html":{"href":"https://github.com/hr-dash/hr-dash/pull/204"},"issue":{"href":"https://api.github.com/repos/hr-dash/hr-dash/issues/204"},"comments":{"href":"https://api.github.com/repos/hr-dash/hr-dash/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/hr-dash/hr-dash/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/hr-dash/hr-dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hr-dash/hr-dash/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/hr-dash/hr-dash/statuses/519fe0ddae3e30ec6183381eb0c3daafd00c5b52"}}}}