{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/25600737","id":25600737,"diff_hunk":"@@ -0,0 +1,46 @@\n+require 'spec_helper'\n+require_relative './helpers/sign_up.rb'\n+require_relative './helpers/add_peep.rb'\n+\n+feature \"User adds a new peep\" do\n+\n+  scenario \"must be logged in send a peep\" do\n+    visit '/peeps'\n+    expect(page).not_to have_content \"Add peep\"\n+  end\n+\n+  scenario \"1 new peep can be added\" do\n+    sign_up\n+    add_peep \"this is a short peep\"\n+    expect(page).to have_css('.peep', :count => 1)\n+  end\n+\n+   scenario \"with the intended peep message showing\" do\n+    sign_up\n+    add_peep \"this is a short peep\"\n+    expect(page).to have_css('.peep', :text => \"this is a short peep\")\n+  end\n+\n+  scenario \"peeps are ordered chronologically\" do\n+    sign_up\n+    add_peep \"this is a short peep\"\n+    add_peep \"this is a second short peep\"\n+    expect(page).to have_css('li:nth-child(1)', :text => \"this is a short peep\")","path":"spec/features/post_peep_spec.rb","position":28,"original_position":28,"commit_id":"a45e264c0384d6a1fce06ae2806a9c42db30bc18","original_commit_id":"a45e264c0384d6a1fce06ae2806a9c42db30bc18","user":{"login":"tansaku","id":30216,"avatar_url":"https://avatars.githubusercontent.com/u/30216?v=3","gravatar_id":"","url":"https://api.github.com/users/tansaku","html_url":"https://github.com/tansaku","followers_url":"https://api.github.com/users/tansaku/followers","following_url":"https://api.github.com/users/tansaku/following{/other_user}","gists_url":"https://api.github.com/users/tansaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tansaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tansaku/subscriptions","organizations_url":"https://api.github.com/users/tansaku/orgs","repos_url":"https://api.github.com/users/tansaku/repos","events_url":"https://api.github.com/users/tansaku/events{/privacy}","received_events_url":"https://api.github.com/users/tansaku/received_events","type":"User","site_admin":false},"body":"great that you're mastering these css selectors, but I'd be careful about your acceptance tests too tightly locked to your CSS layout - if that changes this test will break.  You'd probably be better off just checking for the presence in the page and their relative ordering rather than being in a particular css selector","created_at":"2015-03-02T14:20:01Z","updated_at":"2015-03-02T14:20:01Z","html_url":"https://github.com/makersacademy/chitter-challenge/pull/8#discussion_r25600737","pull_request_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/25600737"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/8#discussion_r25600737"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/8","id":30250575,"html_url":"https://github.com/makersacademy/chitter-challenge/pull/8","diff_url":"https://github.com/makersacademy/chitter-challenge/pull/8.diff","patch_url":"https://github.com/makersacademy/chitter-challenge/pull/8.patch","issue_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/8","number":8,"state":"open","locked":false,"title":"Submission","user":{"login":"meads58","id":1105381,"avatar_url":"https://avatars.githubusercontent.com/u/1105381?v=3","gravatar_id":"","url":"https://api.github.com/users/meads58","html_url":"https://github.com/meads58","followers_url":"https://api.github.com/users/meads58/followers","following_url":"https://api.github.com/users/meads58/following{/other_user}","gists_url":"https://api.github.com/users/meads58/gists{/gist_id}","starred_url":"https://api.github.com/users/meads58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meads58/subscriptions","organizations_url":"https://api.github.com/users/meads58/orgs","repos_url":"https://api.github.com/users/meads58/repos","events_url":"https://api.github.com/users/meads58/events{/privacy}","received_events_url":"https://api.github.com/users/meads58/received_events","type":"User","site_admin":false},"body":"Working and all tests are passing but more work needed on CSS styling.","created_at":"2015-03-01T22:46:03Z","updated_at":"2015-03-02T14:20:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a00ec8bee4224e6f747f6484427d95b1cee5917b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/8/commits","review_comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/8/comments","review_comment_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/8/comments","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/a45e264c0384d6a1fce06ae2806a9c42db30bc18","head":{"label":"meads58:submission","ref":"submission","sha":"a45e264c0384d6a1fce06ae2806a9c42db30bc18","user":{"login":"meads58","id":1105381,"avatar_url":"https://avatars.githubusercontent.com/u/1105381?v=3","gravatar_id":"","url":"https://api.github.com/users/meads58","html_url":"https://github.com/meads58","followers_url":"https://api.github.com/users/meads58/followers","following_url":"https://api.github.com/users/meads58/following{/other_user}","gists_url":"https://api.github.com/users/meads58/gists{/gist_id}","starred_url":"https://api.github.com/users/meads58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meads58/subscriptions","organizations_url":"https://api.github.com/users/meads58/orgs","repos_url":"https://api.github.com/users/meads58/repos","events_url":"https://api.github.com/users/meads58/events{/privacy}","received_events_url":"https://api.github.com/users/meads58/received_events","type":"User","site_admin":false},"repo":{"id":31414072,"name":"chitter-challenge","full_name":"meads58/chitter-challenge","owner":{"login":"meads58","id":1105381,"avatar_url":"https://avatars.githubusercontent.com/u/1105381?v=3","gravatar_id":"","url":"https://api.github.com/users/meads58","html_url":"https://github.com/meads58","followers_url":"https://api.github.com/users/meads58/followers","following_url":"https://api.github.com/users/meads58/following{/other_user}","gists_url":"https://api.github.com/users/meads58/gists{/gist_id}","starred_url":"https://api.github.com/users/meads58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meads58/subscriptions","organizations_url":"https://api.github.com/users/meads58/orgs","repos_url":"https://api.github.com/users/meads58/repos","events_url":"https://api.github.com/users/meads58/events{/privacy}","received_events_url":"https://api.github.com/users/meads58/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meads58/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/meads58/chitter-challenge","forks_url":"https://api.github.com/repos/meads58/chitter-challenge/forks","keys_url":"https://api.github.com/repos/meads58/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meads58/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meads58/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/meads58/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/meads58/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/meads58/chitter-challenge/events","assignees_url":"https://api.github.com/repos/meads58/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/meads58/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/meads58/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/meads58/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meads58/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meads58/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/meads58/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meads58/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/meads58/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/meads58/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/meads58/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/meads58/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/meads58/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/meads58/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/meads58/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/meads58/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/meads58/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/meads58/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/meads58/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meads58/chitter-challenge/merges","archive_url":"https://api.github.com/repos/meads58/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meads58/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/meads58/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/meads58/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/meads58/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/meads58/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meads58/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/meads58/chitter-challenge/releases{/id}","created_at":"2015-02-27T10:17:06Z","updated_at":"2015-03-01T22:40:59Z","pushed_at":"2015-03-01T22:42:22Z","git_url":"git://github.com/meads58/chitter-challenge.git","ssh_url":"git@github.com:meads58/chitter-challenge.git","clone_url":"https://github.com/meads58/chitter-challenge.git","svn_url":"https://github.com/meads58/chitter-challenge","homepage":null,"size":131,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"4cc9b6ae62825aceb341f7ac9fb23867485020db","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":26954706,"name":"chitter-challenge","full_name":"makersacademy/chitter-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/chitter-challenge","description":"Build a Twitter Clone!","fork":false,"url":"https://api.github.com/repos/makersacademy/chitter-challenge","forks_url":"https://api.github.com/repos/makersacademy/chitter-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/chitter-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/chitter-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/chitter-challenge/releases{/id}","created_at":"2014-11-21T09:53:31Z","updated_at":"2015-02-27T10:13:09Z","pushed_at":"2015-02-25T08:28:34Z","git_url":"git://github.com/makersacademy/chitter-challenge.git","ssh_url":"git@github.com:makersacademy/chitter-challenge.git","clone_url":"https://github.com/makersacademy/chitter-challenge.git","svn_url":"https://github.com/makersacademy/chitter-challenge","homepage":null,"size":131,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":26,"forks":26,"open_issues":26,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/8"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/8"},"issue":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/8"},"comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/a45e264c0384d6a1fce06ae2806a9c42db30bc18"}}}}