{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/37467613","id":37467613,"diff_hunk":"@@ -0,0 +1,41 @@\n+require 'byebug'\n+\n+feature 'User sign up' do\n+\n+  scenario 'I can sign up as a new user' do\n+    user = build :user\n+    expect { sign_up user }.to change(User, :count).by(1)\n+    expect(page).to have_content('Welcome, sam@makersacademy.com')\n+    expect(User.first.email).to eq('sam@makersacademy.com')\n+  end\n+\n+end\n+\n+feature 'User sign in' do\n+\n+  scenario 'with correct credentials' do\n+    # byebug\n+    user = create(:user)\n+    password = 'squitecret1234'\n+    sign_in(user.email, password)\n+    expect(page).to have_content \"Welcome, sam@makersacademy.com\"\n+  end\n+\n+end\n+\n+\n+feature 'User signs out' do\n+\n+  before(:each) do\n+    user = create(:user)\n+  end\n+\n+  scenario 'while being signed in' do\n+    sign_in('sam@makersacademy.com','squitecret1234')\n+    click_button 'Sign out'\n+    expect(page).to have_content('goodbye!')\n+    expect(page).not_to have_content('Welcome, sam@makersacademy.com')\n+  end\n+\n+","path":"spec/features/user_management_spec.rb","position":40,"original_position":40,"commit_id":"0ad1bc4884acc49e07651ff8c2d2a1b3b9cbfd17","original_commit_id":"0ad1bc4884acc49e07651ff8c2d2a1b3b9cbfd17","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Extra blank line detected.","created_at":"2015-08-19T21:02:11Z","updated_at":"2015-08-19T21:02:11Z","html_url":"https://github.com/makersacademy/chitter-challenge/pull/115#discussion_r37467613","pull_request_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/115","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/37467613"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/115#discussion_r37467613"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/115"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/115","id":42544203,"html_url":"https://github.com/makersacademy/chitter-challenge/pull/115","diff_url":"https://github.com/makersacademy/chitter-challenge/pull/115.diff","patch_url":"https://github.com/makersacademy/chitter-challenge/pull/115.patch","issue_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/115","number":115,"state":"open","locked":false,"title":"Chitter Challenge","user":{"login":"raphlevy","id":12574604,"avatar_url":"https://avatars.githubusercontent.com/u/12574604?v=3","gravatar_id":"","url":"https://api.github.com/users/raphlevy","html_url":"https://github.com/raphlevy","followers_url":"https://api.github.com/users/raphlevy/followers","following_url":"https://api.github.com/users/raphlevy/following{/other_user}","gists_url":"https://api.github.com/users/raphlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/raphlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphlevy/subscriptions","organizations_url":"https://api.github.com/users/raphlevy/orgs","repos_url":"https://api.github.com/users/raphlevy/repos","events_url":"https://api.github.com/users/raphlevy/events{/privacy}","received_events_url":"https://api.github.com/users/raphlevy/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-16T21:55:48Z","updated_at":"2015-08-19T21:02:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"560baed63029a7f7e64fbf34c9b2ece3aecb9abd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/115/commits","review_comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/115/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/115/comments","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/0ad1bc4884acc49e07651ff8c2d2a1b3b9cbfd17","head":{"label":"raphlevy:master","ref":"master","sha":"0ad1bc4884acc49e07651ff8c2d2a1b3b9cbfd17","user":{"login":"raphlevy","id":12574604,"avatar_url":"https://avatars.githubusercontent.com/u/12574604?v=3","gravatar_id":"","url":"https://api.github.com/users/raphlevy","html_url":"https://github.com/raphlevy","followers_url":"https://api.github.com/users/raphlevy/followers","following_url":"https://api.github.com/users/raphlevy/following{/other_user}","gists_url":"https://api.github.com/users/raphlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/raphlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphlevy/subscriptions","organizations_url":"https://api.github.com/users/raphlevy/orgs","repos_url":"https://api.github.com/users/raphlevy/repos","events_url":"https://api.github.com/users/raphlevy/events{/privacy}","received_events_url":"https://api.github.com/users/raphlevy/received_events","type":"User","site_admin":false},"repo":{"id":40806728,"name":"chitter-challenge","full_name":"raphlevy/chitter-challenge","owner":{"login":"raphlevy","id":12574604,"avatar_url":"https://avatars.githubusercontent.com/u/12574604?v=3","gravatar_id":"","url":"https://api.github.com/users/raphlevy","html_url":"https://github.com/raphlevy","followers_url":"https://api.github.com/users/raphlevy/followers","following_url":"https://api.github.com/users/raphlevy/following{/other_user}","gists_url":"https://api.github.com/users/raphlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/raphlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphlevy/subscriptions","organizations_url":"https://api.github.com/users/raphlevy/orgs","repos_url":"https://api.github.com/users/raphlevy/repos","events_url":"https://api.github.com/users/raphlevy/events{/privacy}","received_events_url":"https://api.github.com/users/raphlevy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raphlevy/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/raphlevy/chitter-challenge","forks_url":"https://api.github.com/repos/raphlevy/chitter-challenge/forks","keys_url":"https://api.github.com/repos/raphlevy/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raphlevy/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raphlevy/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/raphlevy/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/raphlevy/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/raphlevy/chitter-challenge/events","assignees_url":"https://api.github.com/repos/raphlevy/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/raphlevy/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/raphlevy/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/raphlevy/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raphlevy/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raphlevy/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/raphlevy/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raphlevy/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/raphlevy/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/raphlevy/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/raphlevy/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/raphlevy/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/raphlevy/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/raphlevy/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/raphlevy/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/raphlevy/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/raphlevy/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/raphlevy/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/raphlevy/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raphlevy/chitter-challenge/merges","archive_url":"https://api.github.com/repos/raphlevy/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raphlevy/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/raphlevy/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/raphlevy/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/raphlevy/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/raphlevy/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raphlevy/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/raphlevy/chitter-challenge/releases{/id}","created_at":"2015-08-16T09:10:01Z","updated_at":"2015-08-16T09:10:01Z","pushed_at":"2015-08-19T21:02:06Z","git_url":"git://github.com/raphlevy/chitter-challenge.git","ssh_url":"git@github.com:raphlevy/chitter-challenge.git","clone_url":"https://github.com/raphlevy/chitter-challenge.git","svn_url":"https://github.com/raphlevy/chitter-challenge","homepage":null,"size":110,"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":"553a70a6a5ac6f3f58255e120106385eb576ea59","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-04-10T05:48:20Z","pushed_at":"2015-08-19T21:02:06Z","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":28185,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":130,"mirror_url":null,"open_issues_count":24,"forks":130,"open_issues":24,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/115"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/115"},"issue":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/115"},"comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/115/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/115/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/0ad1bc4884acc49e07651ff8c2d2a1b3b9cbfd17"}}}}