{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/34461297","id":34461297,"diff_hunk":"@@ -0,0 +1,36 @@\n+feature 'User sign up' do\n+\n+  scenario 'can sign up as new user' do\n+    expect { sign_up }.to change(User, :count).by(1)\n+    expect(page).to have_content('Welcome, examplealice')\n+    expect(User.first.email).to eq('alice@example.com')\n+  end\n+\n+  def sign_up(username: 'examplealice', email: 'alice@example.com', password: 'oranges!', password_confirmation: 'oranges!')\n+    visit '/users/new'\n+    expect(page.status_code).to eq(200)\n+    fill_in :username, with: username\n+    fill_in :email, with: email\n+    fill_in :password, with: password\n+    fill_in :password_confirmation, with: password_confirmation\n+    click_button 'Sign up'\n+  end\n+\n+  scenario 'requires a matching confirmation password' do\n+    expect { sign_up_p(password_confirmation: 'wrong') }.not_to change(User, :count)","path":"spec/features/user_management_spec.rb","position":20,"original_position":20,"commit_id":"91f1a07b19d6c6ab4e5756c902d487b44b8ca4e1","original_commit_id":"91f1a07b19d6c6ab4e5756c902d487b44b8ca4e1","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":"Line is too long. [84/80]","created_at":"2015-07-13T13:20:16Z","updated_at":"2015-07-13T13:20:16Z","html_url":"https://github.com/makersacademy/chitter-challenge/pull/88#discussion_r34461297","pull_request_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/34461297"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/88#discussion_r34461297"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/88","id":39243152,"html_url":"https://github.com/makersacademy/chitter-challenge/pull/88","diff_url":"https://github.com/makersacademy/chitter-challenge/pull/88.diff","patch_url":"https://github.com/makersacademy/chitter-challenge/pull/88.patch","issue_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/88","number":88,"state":"open","locked":false,"title":"setup complete, use as template in future","user":{"login":"jonathanngkh","id":11219915,"avatar_url":"https://avatars.githubusercontent.com/u/11219915?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanngkh","html_url":"https://github.com/jonathanngkh","followers_url":"https://api.github.com/users/jonathanngkh/followers","following_url":"https://api.github.com/users/jonathanngkh/following{/other_user}","gists_url":"https://api.github.com/users/jonathanngkh/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanngkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanngkh/subscriptions","organizations_url":"https://api.github.com/users/jonathanngkh/orgs","repos_url":"https://api.github.com/users/jonathanngkh/repos","events_url":"https://api.github.com/users/jonathanngkh/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanngkh/received_events","type":"User","site_admin":false},"body":"Only managed to implement what I learnt in the short time I had, which was just setup. They work.","created_at":"2015-07-06T07:51:19Z","updated_at":"2015-07-13T13:20:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b5fb2a2874c034fa476ae58357fa7cd15069ed0","assignee":{"login":"silvabox","id":3007273,"avatar_url":"https://avatars.githubusercontent.com/u/3007273?v=3","gravatar_id":"","url":"https://api.github.com/users/silvabox","html_url":"https://github.com/silvabox","followers_url":"https://api.github.com/users/silvabox/followers","following_url":"https://api.github.com/users/silvabox/following{/other_user}","gists_url":"https://api.github.com/users/silvabox/gists{/gist_id}","starred_url":"https://api.github.com/users/silvabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvabox/subscriptions","organizations_url":"https://api.github.com/users/silvabox/orgs","repos_url":"https://api.github.com/users/silvabox/repos","events_url":"https://api.github.com/users/silvabox/events{/privacy}","received_events_url":"https://api.github.com/users/silvabox/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/88/commits","review_comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/88/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/88/comments","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/91f1a07b19d6c6ab4e5756c902d487b44b8ca4e1","head":{"label":"jonathanngkh:master","ref":"master","sha":"91f1a07b19d6c6ab4e5756c902d487b44b8ca4e1","user":{"login":"jonathanngkh","id":11219915,"avatar_url":"https://avatars.githubusercontent.com/u/11219915?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanngkh","html_url":"https://github.com/jonathanngkh","followers_url":"https://api.github.com/users/jonathanngkh/followers","following_url":"https://api.github.com/users/jonathanngkh/following{/other_user}","gists_url":"https://api.github.com/users/jonathanngkh/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanngkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanngkh/subscriptions","organizations_url":"https://api.github.com/users/jonathanngkh/orgs","repos_url":"https://api.github.com/users/jonathanngkh/repos","events_url":"https://api.github.com/users/jonathanngkh/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanngkh/received_events","type":"User","site_admin":false},"repo":{"id":38548980,"name":"chitter-challenge","full_name":"jonathanngkh/chitter-challenge","owner":{"login":"jonathanngkh","id":11219915,"avatar_url":"https://avatars.githubusercontent.com/u/11219915?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanngkh","html_url":"https://github.com/jonathanngkh","followers_url":"https://api.github.com/users/jonathanngkh/followers","following_url":"https://api.github.com/users/jonathanngkh/following{/other_user}","gists_url":"https://api.github.com/users/jonathanngkh/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanngkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanngkh/subscriptions","organizations_url":"https://api.github.com/users/jonathanngkh/orgs","repos_url":"https://api.github.com/users/jonathanngkh/repos","events_url":"https://api.github.com/users/jonathanngkh/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanngkh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonathanngkh/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/jonathanngkh/chitter-challenge","forks_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/forks","keys_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/events","assignees_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/merges","archive_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/jonathanngkh/chitter-challenge/releases{/id}","created_at":"2015-07-04T22:02:57Z","updated_at":"2015-07-04T22:02:57Z","pushed_at":"2015-07-13T13:20:11Z","git_url":"git://github.com/jonathanngkh/chitter-challenge.git","ssh_url":"git@github.com:jonathanngkh/chitter-challenge.git","clone_url":"https://github.com/jonathanngkh/chitter-challenge.git","svn_url":"https://github.com/jonathanngkh/chitter-challenge","homepage":null,"size":101,"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":"659601f1961207b23a200a123b2db060582be39e","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-07-13T13:20:12Z","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":27829,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"open_issues_count":13,"forks":98,"open_issues":13,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/88"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/88"},"issue":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/88"},"comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/88/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/88/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/91f1a07b19d6c6ab4e5756c902d487b44b8ca4e1"}}}}