{"action":"created","comment":{"url":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/comments/31820897","id":31820897,"diff_hunk":"@@ -15,13 +17,22 @@ def setup\n       children: { count: 2, only: { tag: 'div', attributes: { class: \"post\" }} }\n   end\n \n+  test \"should get the article page\" do\n+    get post_path(post1.id)\n+    assert_select 'h1', \"#{post1.title}\"\n+  end\n+\n   test \"post when there aren't\" do\n     Post.delete_all\n \n     get posts_path\n \n     assert_template 'posts/index'\n-    assert_select \"p\", \"There aint no post in the DB.\"\n+    assert_select \"p\", \"There aint no post.\"\n+  end\n+\n+  test \"should get the right number of comments\" do","path":"test/integration/posts_index_test.rb","position":31,"original_position":31,"commit_id":"7408f4cb7e433110a49f9c8d1eff9415d61160d7","original_commit_id":"7408f4cb7e433110a49f9c8d1eff9415d61160d7","user":{"login":"skelz0r","id":1279968,"avatar_url":"https://avatars.githubusercontent.com/u/1279968?v=3","gravatar_id":"","url":"https://api.github.com/users/skelz0r","html_url":"https://github.com/skelz0r","followers_url":"https://api.github.com/users/skelz0r/followers","following_url":"https://api.github.com/users/skelz0r/following{/other_user}","gists_url":"https://api.github.com/users/skelz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/skelz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skelz0r/subscriptions","organizations_url":"https://api.github.com/users/skelz0r/orgs","repos_url":"https://api.github.com/users/skelz0r/repos","events_url":"https://api.github.com/users/skelz0r/events{/privacy}","received_events_url":"https://api.github.com/users/skelz0r/received_events","type":"User","site_admin":false},"body":"bah, il est où ce test ?","created_at":"2015-06-05T15:12:13Z","updated_at":"2015-06-05T15:12:13Z","html_url":"https://github.com/pgtamatoa/sample_app/pull/4#discussion_r31820897","pull_request_url":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/comments/31820897"},"html":{"href":"https://github.com/pgtamatoa/sample_app/pull/4#discussion_r31820897"},"pull_request":{"href":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/4","id":37039570,"html_url":"https://github.com/pgtamatoa/sample_app/pull/4","diff_url":"https://github.com/pgtamatoa/sample_app/pull/4.diff","patch_url":"https://github.com/pgtamatoa/sample_app/pull/4.patch","issue_url":"https://api.github.com/repos/pgtamatoa/sample_app/issues/4","number":4,"state":"open","locked":false,"title":"Exo/4","user":{"login":"skelz0r","id":1279968,"avatar_url":"https://avatars.githubusercontent.com/u/1279968?v=3","gravatar_id":"","url":"https://api.github.com/users/skelz0r","html_url":"https://github.com/skelz0r","followers_url":"https://api.github.com/users/skelz0r/followers","following_url":"https://api.github.com/users/skelz0r/following{/other_user}","gists_url":"https://api.github.com/users/skelz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/skelz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skelz0r/subscriptions","organizations_url":"https://api.github.com/users/skelz0r/orgs","repos_url":"https://api.github.com/users/skelz0r/repos","events_url":"https://api.github.com/users/skelz0r/events{/privacy}","received_events_url":"https://api.github.com/users/skelz0r/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-05T15:01:53Z","updated_at":"2015-06-05T15:12:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62defc45deaaef0dd15e851536ae61d040d76f31","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/4/commits","review_comments_url":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/4/comments","review_comment_url":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pgtamatoa/sample_app/issues/4/comments","statuses_url":"https://api.github.com/repos/pgtamatoa/sample_app/statuses/7408f4cb7e433110a49f9c8d1eff9415d61160d7","head":{"label":"pgtamatoa:exo/4","ref":"exo/4","sha":"7408f4cb7e433110a49f9c8d1eff9415d61160d7","user":{"login":"pgtamatoa","id":11528882,"avatar_url":"https://avatars.githubusercontent.com/u/11528882?v=3","gravatar_id":"","url":"https://api.github.com/users/pgtamatoa","html_url":"https://github.com/pgtamatoa","followers_url":"https://api.github.com/users/pgtamatoa/followers","following_url":"https://api.github.com/users/pgtamatoa/following{/other_user}","gists_url":"https://api.github.com/users/pgtamatoa/gists{/gist_id}","starred_url":"https://api.github.com/users/pgtamatoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgtamatoa/subscriptions","organizations_url":"https://api.github.com/users/pgtamatoa/orgs","repos_url":"https://api.github.com/users/pgtamatoa/repos","events_url":"https://api.github.com/users/pgtamatoa/events{/privacy}","received_events_url":"https://api.github.com/users/pgtamatoa/received_events","type":"User","site_admin":false},"repo":{"id":36245228,"name":"sample_app","full_name":"pgtamatoa/sample_app","owner":{"login":"pgtamatoa","id":11528882,"avatar_url":"https://avatars.githubusercontent.com/u/11528882?v=3","gravatar_id":"","url":"https://api.github.com/users/pgtamatoa","html_url":"https://github.com/pgtamatoa","followers_url":"https://api.github.com/users/pgtamatoa/followers","following_url":"https://api.github.com/users/pgtamatoa/following{/other_user}","gists_url":"https://api.github.com/users/pgtamatoa/gists{/gist_id}","starred_url":"https://api.github.com/users/pgtamatoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgtamatoa/subscriptions","organizations_url":"https://api.github.com/users/pgtamatoa/orgs","repos_url":"https://api.github.com/users/pgtamatoa/repos","events_url":"https://api.github.com/users/pgtamatoa/events{/privacy}","received_events_url":"https://api.github.com/users/pgtamatoa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pgtamatoa/sample_app","description":"Sample app from Michael Hartle tutorial","fork":false,"url":"https://api.github.com/repos/pgtamatoa/sample_app","forks_url":"https://api.github.com/repos/pgtamatoa/sample_app/forks","keys_url":"https://api.github.com/repos/pgtamatoa/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgtamatoa/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgtamatoa/sample_app/teams","hooks_url":"https://api.github.com/repos/pgtamatoa/sample_app/hooks","issue_events_url":"https://api.github.com/repos/pgtamatoa/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/pgtamatoa/sample_app/events","assignees_url":"https://api.github.com/repos/pgtamatoa/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/pgtamatoa/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/pgtamatoa/sample_app/tags","blobs_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgtamatoa/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/pgtamatoa/sample_app/languages","stargazers_url":"https://api.github.com/repos/pgtamatoa/sample_app/stargazers","contributors_url":"https://api.github.com/repos/pgtamatoa/sample_app/contributors","subscribers_url":"https://api.github.com/repos/pgtamatoa/sample_app/subscribers","subscription_url":"https://api.github.com/repos/pgtamatoa/sample_app/subscription","commits_url":"https://api.github.com/repos/pgtamatoa/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgtamatoa/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgtamatoa/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgtamatoa/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/pgtamatoa/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgtamatoa/sample_app/merges","archive_url":"https://api.github.com/repos/pgtamatoa/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgtamatoa/sample_app/downloads","issues_url":"https://api.github.com/repos/pgtamatoa/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/pgtamatoa/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/pgtamatoa/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/pgtamatoa/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgtamatoa/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/pgtamatoa/sample_app/releases{/id}","created_at":"2015-05-25T17:40:19Z","updated_at":"2015-05-25T17:41:22Z","pushed_at":"2015-06-05T15:01:53Z","git_url":"git://github.com/pgtamatoa/sample_app.git","ssh_url":"git@github.com:pgtamatoa/sample_app.git","clone_url":"https://github.com/pgtamatoa/sample_app.git","svn_url":"https://github.com/pgtamatoa/sample_app","homepage":null,"size":268,"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":"pgtamatoa:master","ref":"master","sha":"2ac2ecdbabf67f0fdd67bf430e49faae2ec91ad2","user":{"login":"pgtamatoa","id":11528882,"avatar_url":"https://avatars.githubusercontent.com/u/11528882?v=3","gravatar_id":"","url":"https://api.github.com/users/pgtamatoa","html_url":"https://github.com/pgtamatoa","followers_url":"https://api.github.com/users/pgtamatoa/followers","following_url":"https://api.github.com/users/pgtamatoa/following{/other_user}","gists_url":"https://api.github.com/users/pgtamatoa/gists{/gist_id}","starred_url":"https://api.github.com/users/pgtamatoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgtamatoa/subscriptions","organizations_url":"https://api.github.com/users/pgtamatoa/orgs","repos_url":"https://api.github.com/users/pgtamatoa/repos","events_url":"https://api.github.com/users/pgtamatoa/events{/privacy}","received_events_url":"https://api.github.com/users/pgtamatoa/received_events","type":"User","site_admin":false},"repo":{"id":36245228,"name":"sample_app","full_name":"pgtamatoa/sample_app","owner":{"login":"pgtamatoa","id":11528882,"avatar_url":"https://avatars.githubusercontent.com/u/11528882?v=3","gravatar_id":"","url":"https://api.github.com/users/pgtamatoa","html_url":"https://github.com/pgtamatoa","followers_url":"https://api.github.com/users/pgtamatoa/followers","following_url":"https://api.github.com/users/pgtamatoa/following{/other_user}","gists_url":"https://api.github.com/users/pgtamatoa/gists{/gist_id}","starred_url":"https://api.github.com/users/pgtamatoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgtamatoa/subscriptions","organizations_url":"https://api.github.com/users/pgtamatoa/orgs","repos_url":"https://api.github.com/users/pgtamatoa/repos","events_url":"https://api.github.com/users/pgtamatoa/events{/privacy}","received_events_url":"https://api.github.com/users/pgtamatoa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pgtamatoa/sample_app","description":"Sample app from Michael Hartle tutorial","fork":false,"url":"https://api.github.com/repos/pgtamatoa/sample_app","forks_url":"https://api.github.com/repos/pgtamatoa/sample_app/forks","keys_url":"https://api.github.com/repos/pgtamatoa/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgtamatoa/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgtamatoa/sample_app/teams","hooks_url":"https://api.github.com/repos/pgtamatoa/sample_app/hooks","issue_events_url":"https://api.github.com/repos/pgtamatoa/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/pgtamatoa/sample_app/events","assignees_url":"https://api.github.com/repos/pgtamatoa/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/pgtamatoa/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/pgtamatoa/sample_app/tags","blobs_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgtamatoa/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/pgtamatoa/sample_app/languages","stargazers_url":"https://api.github.com/repos/pgtamatoa/sample_app/stargazers","contributors_url":"https://api.github.com/repos/pgtamatoa/sample_app/contributors","subscribers_url":"https://api.github.com/repos/pgtamatoa/sample_app/subscribers","subscription_url":"https://api.github.com/repos/pgtamatoa/sample_app/subscription","commits_url":"https://api.github.com/repos/pgtamatoa/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgtamatoa/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgtamatoa/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgtamatoa/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgtamatoa/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/pgtamatoa/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgtamatoa/sample_app/merges","archive_url":"https://api.github.com/repos/pgtamatoa/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgtamatoa/sample_app/downloads","issues_url":"https://api.github.com/repos/pgtamatoa/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/pgtamatoa/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/pgtamatoa/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/pgtamatoa/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgtamatoa/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/pgtamatoa/sample_app/releases{/id}","created_at":"2015-05-25T17:40:19Z","updated_at":"2015-05-25T17:41:22Z","pushed_at":"2015-06-05T15:01:53Z","git_url":"git://github.com/pgtamatoa/sample_app.git","ssh_url":"git@github.com:pgtamatoa/sample_app.git","clone_url":"https://github.com/pgtamatoa/sample_app.git","svn_url":"https://github.com/pgtamatoa/sample_app","homepage":null,"size":268,"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/pgtamatoa/sample_app/pulls/4"},"html":{"href":"https://github.com/pgtamatoa/sample_app/pull/4"},"issue":{"href":"https://api.github.com/repos/pgtamatoa/sample_app/issues/4"},"comments":{"href":"https://api.github.com/repos/pgtamatoa/sample_app/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pgtamatoa/sample_app/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/pgtamatoa/sample_app/statuses/7408f4cb7e433110a49f9c8d1eff9415d61160d7"}}}}