{"action":"created","comment":{"url":"https://api.github.com/repos/takuminnnn/sample_app/pulls/comments/33124784","id":33124784,"diff_hunk":"@@ -32,4 +35,20 @@ def setup\n     get user_path(users(:archer))\n     assert_select 'a', text: 'delete', count: 0\n   end\n+\n+  test \"micropost sidebar count\" do\n+    log_in_as(@user)\n+    get root_path\n+    assert_match \"#{@user.microposts.size} microposts\", response.body","path":"test/integration/microposts_interface_test.rb","position":29,"original_position":29,"commit_id":"57d68102033d4d6c9d9c24403b4a2be314da6051","original_commit_id":"57d68102033d4d6c9d9c24403b4a2be314da6051","user":{"login":"takuminnnn","id":2803040,"avatar_url":"https://avatars.githubusercontent.com/u/2803040?v=3","gravatar_id":"","url":"https://api.github.com/users/takuminnnn","html_url":"https://github.com/takuminnnn","followers_url":"https://api.github.com/users/takuminnnn/followers","following_url":"https://api.github.com/users/takuminnnn/following{/other_user}","gists_url":"https://api.github.com/users/takuminnnn/gists{/gist_id}","starred_url":"https://api.github.com/users/takuminnnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuminnnn/subscriptions","organizations_url":"https://api.github.com/users/takuminnnn/orgs","repos_url":"https://api.github.com/users/takuminnnn/repos","events_url":"https://api.github.com/users/takuminnnn/events{/privacy}","received_events_url":"https://api.github.com/users/takuminnnn/received_events","type":"User","site_admin":false},"body":"`pluralize` 使えばいいじゃんって思ってたらあれActionViewのヘルパーメソッドだった","created_at":"2015-06-24T07:53:36Z","updated_at":"2015-06-24T07:53:36Z","html_url":"https://github.com/takuminnnn/sample_app/pull/19#discussion_r33124784","pull_request_url":"https://api.github.com/repos/takuminnnn/sample_app/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/takuminnnn/sample_app/pulls/comments/33124784"},"html":{"href":"https://github.com/takuminnnn/sample_app/pull/19#discussion_r33124784"},"pull_request":{"href":"https://api.github.com/repos/takuminnnn/sample_app/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/takuminnnn/sample_app/pulls/19","id":38415642,"html_url":"https://github.com/takuminnnn/sample_app/pull/19","diff_url":"https://github.com/takuminnnn/sample_app/pull/19.diff","patch_url":"https://github.com/takuminnnn/sample_app/pull/19.patch","issue_url":"https://api.github.com/repos/takuminnnn/sample_app/issues/19","number":19,"state":"open","locked":false,"title":"[Exercise 11.6] Refactor the Home page and more","user":{"login":"takuminnnn","id":2803040,"avatar_url":"https://avatars.githubusercontent.com/u/2803040?v=3","gravatar_id":"","url":"https://api.github.com/users/takuminnnn","html_url":"https://github.com/takuminnnn","followers_url":"https://api.github.com/users/takuminnnn/followers","following_url":"https://api.github.com/users/takuminnnn/following{/other_user}","gists_url":"https://api.github.com/users/takuminnnn/gists{/gist_id}","starred_url":"https://api.github.com/users/takuminnnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuminnnn/subscriptions","organizations_url":"https://api.github.com/users/takuminnnn/orgs","repos_url":"https://api.github.com/users/takuminnnn/repos","events_url":"https://api.github.com/users/takuminnnn/events{/privacy}","received_events_url":"https://api.github.com/users/takuminnnn/received_events","type":"User","site_admin":false},"body":"## Exercises\r\nhttps://www.railstutorial.org/book/user_microposts#sec-micropost_exercises\r\n\r\n## TODO\r\n\r\n- [x] 1. Refactor the Home page to use separate partials for the two branches of the `if-else` statement\r\n- [x] 2. Add tests for the sidebar micropost count (including proper pluralization)\r\n  - [x] Replace `FILL_IN` in Listing 11.68\r\n- [x] 3. Add tests of the image uploader in Section 11.4 by following the template in Listing 11.69\r\n  - [x] Replace `FILL_IN` in Listing 11.69\r\n\r\n## Completion Conditions\r\n\r\n- [x] Passed by all green TravisCI test\r\n- [ ] Get `OK` or `LGTM` from __two__ of rjk","created_at":"2015-06-24T07:47:49Z","updated_at":"2015-06-24T07:53:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f17896ac084df549fc74c8015e0c36c80a6a0e83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/takuminnnn/sample_app/pulls/19/commits","review_comments_url":"https://api.github.com/repos/takuminnnn/sample_app/pulls/19/comments","review_comment_url":"https://api.github.com/repos/takuminnnn/sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/takuminnnn/sample_app/issues/19/comments","statuses_url":"https://api.github.com/repos/takuminnnn/sample_app/statuses/57d68102033d4d6c9d9c24403b4a2be314da6051","head":{"label":"takuminnnn:exercise-11","ref":"exercise-11","sha":"57d68102033d4d6c9d9c24403b4a2be314da6051","user":{"login":"takuminnnn","id":2803040,"avatar_url":"https://avatars.githubusercontent.com/u/2803040?v=3","gravatar_id":"","url":"https://api.github.com/users/takuminnnn","html_url":"https://github.com/takuminnnn","followers_url":"https://api.github.com/users/takuminnnn/followers","following_url":"https://api.github.com/users/takuminnnn/following{/other_user}","gists_url":"https://api.github.com/users/takuminnnn/gists{/gist_id}","starred_url":"https://api.github.com/users/takuminnnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuminnnn/subscriptions","organizations_url":"https://api.github.com/users/takuminnnn/orgs","repos_url":"https://api.github.com/users/takuminnnn/repos","events_url":"https://api.github.com/users/takuminnnn/events{/privacy}","received_events_url":"https://api.github.com/users/takuminnnn/received_events","type":"User","site_admin":false},"repo":{"id":37234116,"name":"sample_app","full_name":"takuminnnn/sample_app","owner":{"login":"takuminnnn","id":2803040,"avatar_url":"https://avatars.githubusercontent.com/u/2803040?v=3","gravatar_id":"","url":"https://api.github.com/users/takuminnnn","html_url":"https://github.com/takuminnnn","followers_url":"https://api.github.com/users/takuminnnn/followers","following_url":"https://api.github.com/users/takuminnnn/following{/other_user}","gists_url":"https://api.github.com/users/takuminnnn/gists{/gist_id}","starred_url":"https://api.github.com/users/takuminnnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuminnnn/subscriptions","organizations_url":"https://api.github.com/users/takuminnnn/orgs","repos_url":"https://api.github.com/users/takuminnnn/repos","events_url":"https://api.github.com/users/takuminnnn/events{/privacy}","received_events_url":"https://api.github.com/users/takuminnnn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takuminnnn/sample_app","description":"Rails Tutorialやるぞ!!!!!1 ","fork":false,"url":"https://api.github.com/repos/takuminnnn/sample_app","forks_url":"https://api.github.com/repos/takuminnnn/sample_app/forks","keys_url":"https://api.github.com/repos/takuminnnn/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takuminnnn/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takuminnnn/sample_app/teams","hooks_url":"https://api.github.com/repos/takuminnnn/sample_app/hooks","issue_events_url":"https://api.github.com/repos/takuminnnn/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/takuminnnn/sample_app/events","assignees_url":"https://api.github.com/repos/takuminnnn/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/takuminnnn/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/takuminnnn/sample_app/tags","blobs_url":"https://api.github.com/repos/takuminnnn/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takuminnnn/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takuminnnn/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/takuminnnn/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takuminnnn/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/takuminnnn/sample_app/languages","stargazers_url":"https://api.github.com/repos/takuminnnn/sample_app/stargazers","contributors_url":"https://api.github.com/repos/takuminnnn/sample_app/contributors","subscribers_url":"https://api.github.com/repos/takuminnnn/sample_app/subscribers","subscription_url":"https://api.github.com/repos/takuminnnn/sample_app/subscription","commits_url":"https://api.github.com/repos/takuminnnn/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/takuminnnn/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/takuminnnn/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/takuminnnn/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/takuminnnn/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/takuminnnn/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takuminnnn/sample_app/merges","archive_url":"https://api.github.com/repos/takuminnnn/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takuminnnn/sample_app/downloads","issues_url":"https://api.github.com/repos/takuminnnn/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/takuminnnn/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/takuminnnn/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/takuminnnn/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takuminnnn/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/takuminnnn/sample_app/releases{/id}","created_at":"2015-06-11T02:15:08Z","updated_at":"2015-06-11T02:17:33Z","pushed_at":"2015-06-24T07:47:49Z","git_url":"git://github.com/takuminnnn/sample_app.git","ssh_url":"git@github.com:takuminnnn/sample_app.git","clone_url":"https://github.com/takuminnnn/sample_app.git","svn_url":"https://github.com/takuminnnn/sample_app","homepage":null,"size":30426,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"takuminnnn:master","ref":"master","sha":"12313952ec7722ccee66992184c1b49ba281aa27","user":{"login":"takuminnnn","id":2803040,"avatar_url":"https://avatars.githubusercontent.com/u/2803040?v=3","gravatar_id":"","url":"https://api.github.com/users/takuminnnn","html_url":"https://github.com/takuminnnn","followers_url":"https://api.github.com/users/takuminnnn/followers","following_url":"https://api.github.com/users/takuminnnn/following{/other_user}","gists_url":"https://api.github.com/users/takuminnnn/gists{/gist_id}","starred_url":"https://api.github.com/users/takuminnnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuminnnn/subscriptions","organizations_url":"https://api.github.com/users/takuminnnn/orgs","repos_url":"https://api.github.com/users/takuminnnn/repos","events_url":"https://api.github.com/users/takuminnnn/events{/privacy}","received_events_url":"https://api.github.com/users/takuminnnn/received_events","type":"User","site_admin":false},"repo":{"id":37234116,"name":"sample_app","full_name":"takuminnnn/sample_app","owner":{"login":"takuminnnn","id":2803040,"avatar_url":"https://avatars.githubusercontent.com/u/2803040?v=3","gravatar_id":"","url":"https://api.github.com/users/takuminnnn","html_url":"https://github.com/takuminnnn","followers_url":"https://api.github.com/users/takuminnnn/followers","following_url":"https://api.github.com/users/takuminnnn/following{/other_user}","gists_url":"https://api.github.com/users/takuminnnn/gists{/gist_id}","starred_url":"https://api.github.com/users/takuminnnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuminnnn/subscriptions","organizations_url":"https://api.github.com/users/takuminnnn/orgs","repos_url":"https://api.github.com/users/takuminnnn/repos","events_url":"https://api.github.com/users/takuminnnn/events{/privacy}","received_events_url":"https://api.github.com/users/takuminnnn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takuminnnn/sample_app","description":"Rails Tutorialやるぞ!!!!!1 ","fork":false,"url":"https://api.github.com/repos/takuminnnn/sample_app","forks_url":"https://api.github.com/repos/takuminnnn/sample_app/forks","keys_url":"https://api.github.com/repos/takuminnnn/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takuminnnn/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takuminnnn/sample_app/teams","hooks_url":"https://api.github.com/repos/takuminnnn/sample_app/hooks","issue_events_url":"https://api.github.com/repos/takuminnnn/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/takuminnnn/sample_app/events","assignees_url":"https://api.github.com/repos/takuminnnn/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/takuminnnn/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/takuminnnn/sample_app/tags","blobs_url":"https://api.github.com/repos/takuminnnn/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takuminnnn/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takuminnnn/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/takuminnnn/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takuminnnn/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/takuminnnn/sample_app/languages","stargazers_url":"https://api.github.com/repos/takuminnnn/sample_app/stargazers","contributors_url":"https://api.github.com/repos/takuminnnn/sample_app/contributors","subscribers_url":"https://api.github.com/repos/takuminnnn/sample_app/subscribers","subscription_url":"https://api.github.com/repos/takuminnnn/sample_app/subscription","commits_url":"https://api.github.com/repos/takuminnnn/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/takuminnnn/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/takuminnnn/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/takuminnnn/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/takuminnnn/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/takuminnnn/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takuminnnn/sample_app/merges","archive_url":"https://api.github.com/repos/takuminnnn/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takuminnnn/sample_app/downloads","issues_url":"https://api.github.com/repos/takuminnnn/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/takuminnnn/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/takuminnnn/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/takuminnnn/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takuminnnn/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/takuminnnn/sample_app/releases{/id}","created_at":"2015-06-11T02:15:08Z","updated_at":"2015-06-11T02:17:33Z","pushed_at":"2015-06-24T07:47:49Z","git_url":"git://github.com/takuminnnn/sample_app.git","ssh_url":"git@github.com:takuminnnn/sample_app.git","clone_url":"https://github.com/takuminnnn/sample_app.git","svn_url":"https://github.com/takuminnnn/sample_app","homepage":null,"size":30426,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/takuminnnn/sample_app/pulls/19"},"html":{"href":"https://github.com/takuminnnn/sample_app/pull/19"},"issue":{"href":"https://api.github.com/repos/takuminnnn/sample_app/issues/19"},"comments":{"href":"https://api.github.com/repos/takuminnnn/sample_app/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/takuminnnn/sample_app/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/takuminnnn/sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/takuminnnn/sample_app/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/takuminnnn/sample_app/statuses/57d68102033d4d6c9d9c24403b4a2be314da6051"}}}}