{"action":"created","comment":{"url":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/comments/31106149","id":31106149,"diff_hunk":"@@ -25,4 +25,13 @@\n     sign_up('Moncef', 'moncef@foo.com', 'ohanatest', 'ohana')\n     expect(page).to have_content \"Password confirmation doesn't match Password\"\n   end\n+\n+  def sign_up(name, email, password, confirmation)\n+    visit '/users/sign_up'\n+    fill_in 'user_name',                  with: name\n+    fill_in 'user_email',                 with: email\n+    fill_in 'user_password',              with: password\n+    fill_in 'user_password_confirmation', with: confirmation\n+    click_button 'Sign up'","path":"spec/features/signup_spec.rb","position":11,"original_position":11,"commit_id":"4df7f7caf93b8fff39e2fd0aa8299870a8ca14c4","original_commit_id":"4df7f7caf93b8fff39e2fd0aa8299870a8ca14c4","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-05-27T06:25:21Z","updated_at":"2015-05-27T06:25:21Z","html_url":"https://github.com/sfbrigade/ohana-api/pull/29#discussion_r31106149","pull_request_url":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/comments/31106149"},"html":{"href":"https://github.com/sfbrigade/ohana-api/pull/29#discussion_r31106149"},"pull_request":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/29","id":33920176,"html_url":"https://github.com/sfbrigade/ohana-api/pull/29","diff_url":"https://github.com/sfbrigade/ohana-api/pull/29.diff","patch_url":"https://github.com/sfbrigade/ohana-api/pull/29.patch","issue_url":"https://api.github.com/repos/sfbrigade/ohana-api/issues/29","number":29,"state":"open","locked":false,"title":"Simplify admin & user sign in spec helpers","user":{"login":"graysonwright","id":829576,"avatar_url":"https://avatars.githubusercontent.com/u/829576?v=3","gravatar_id":"","url":"https://api.github.com/users/graysonwright","html_url":"https://github.com/graysonwright","followers_url":"https://api.github.com/users/graysonwright/followers","following_url":"https://api.github.com/users/graysonwright/following{/other_user}","gists_url":"https://api.github.com/users/graysonwright/gists{/gist_id}","starred_url":"https://api.github.com/users/graysonwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graysonwright/subscriptions","organizations_url":"https://api.github.com/users/graysonwright/orgs","repos_url":"https://api.github.com/users/graysonwright/repos","events_url":"https://api.github.com/users/graysonwright/events{/privacy}","received_events_url":"https://api.github.com/users/graysonwright/received_events","type":"User","site_admin":false},"body":"Many of them are only used in one file,\nso move them to the file that they're used in.\n\nMotivation: there was confusion between `sign_in_admin`,\nwhich walked through the user interface to sign in an admin,\nand `login_admin`, which used Devise & sessions to set the user\ndirectly.","created_at":"2015-04-23T02:52:57Z","updated_at":"2015-05-27T06:25:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6787d4aace1e580f46fc473ff5235c780813d30","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/29/commits","review_comments_url":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/29/comments","review_comment_url":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sfbrigade/ohana-api/issues/29/comments","statuses_url":"https://api.github.com/repos/sfbrigade/ohana-api/statuses/4df7f7caf93b8fff39e2fd0aa8299870a8ca14c4","head":{"label":"sfbrigade:sign-in-cleanup","ref":"sign-in-cleanup","sha":"4df7f7caf93b8fff39e2fd0aa8299870a8ca14c4","user":{"login":"sfbrigade","id":3926630,"avatar_url":"https://avatars.githubusercontent.com/u/3926630?v=3","gravatar_id":"","url":"https://api.github.com/users/sfbrigade","html_url":"https://github.com/sfbrigade","followers_url":"https://api.github.com/users/sfbrigade/followers","following_url":"https://api.github.com/users/sfbrigade/following{/other_user}","gists_url":"https://api.github.com/users/sfbrigade/gists{/gist_id}","starred_url":"https://api.github.com/users/sfbrigade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfbrigade/subscriptions","organizations_url":"https://api.github.com/users/sfbrigade/orgs","repos_url":"https://api.github.com/users/sfbrigade/repos","events_url":"https://api.github.com/users/sfbrigade/events{/privacy}","received_events_url":"https://api.github.com/users/sfbrigade/received_events","type":"Organization","site_admin":false},"repo":{"id":18885866,"name":"ohana-api","full_name":"sfbrigade/ohana-api","owner":{"login":"sfbrigade","id":3926630,"avatar_url":"https://avatars.githubusercontent.com/u/3926630?v=3","gravatar_id":"","url":"https://api.github.com/users/sfbrigade","html_url":"https://github.com/sfbrigade","followers_url":"https://api.github.com/users/sfbrigade/followers","following_url":"https://api.github.com/users/sfbrigade/following{/other_user}","gists_url":"https://api.github.com/users/sfbrigade/gists{/gist_id}","starred_url":"https://api.github.com/users/sfbrigade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfbrigade/subscriptions","organizations_url":"https://api.github.com/users/sfbrigade/orgs","repos_url":"https://api.github.com/users/sfbrigade/repos","events_url":"https://api.github.com/users/sfbrigade/events{/privacy}","received_events_url":"https://api.github.com/users/sfbrigade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sfbrigade/ohana-api","description":"The open source API directory of community social services.","fork":true,"url":"https://api.github.com/repos/sfbrigade/ohana-api","forks_url":"https://api.github.com/repos/sfbrigade/ohana-api/forks","keys_url":"https://api.github.com/repos/sfbrigade/ohana-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfbrigade/ohana-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfbrigade/ohana-api/teams","hooks_url":"https://api.github.com/repos/sfbrigade/ohana-api/hooks","issue_events_url":"https://api.github.com/repos/sfbrigade/ohana-api/issues/events{/number}","events_url":"https://api.github.com/repos/sfbrigade/ohana-api/events","assignees_url":"https://api.github.com/repos/sfbrigade/ohana-api/assignees{/user}","branches_url":"https://api.github.com/repos/sfbrigade/ohana-api/branches{/branch}","tags_url":"https://api.github.com/repos/sfbrigade/ohana-api/tags","blobs_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfbrigade/ohana-api/statuses/{sha}","languages_url":"https://api.github.com/repos/sfbrigade/ohana-api/languages","stargazers_url":"https://api.github.com/repos/sfbrigade/ohana-api/stargazers","contributors_url":"https://api.github.com/repos/sfbrigade/ohana-api/contributors","subscribers_url":"https://api.github.com/repos/sfbrigade/ohana-api/subscribers","subscription_url":"https://api.github.com/repos/sfbrigade/ohana-api/subscription","commits_url":"https://api.github.com/repos/sfbrigade/ohana-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfbrigade/ohana-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfbrigade/ohana-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfbrigade/ohana-api/contents/{+path}","compare_url":"https://api.github.com/repos/sfbrigade/ohana-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfbrigade/ohana-api/merges","archive_url":"https://api.github.com/repos/sfbrigade/ohana-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfbrigade/ohana-api/downloads","issues_url":"https://api.github.com/repos/sfbrigade/ohana-api/issues{/number}","pulls_url":"https://api.github.com/repos/sfbrigade/ohana-api/pulls{/number}","milestones_url":"https://api.github.com/repos/sfbrigade/ohana-api/milestones{/number}","notifications_url":"https://api.github.com/repos/sfbrigade/ohana-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfbrigade/ohana-api/labels{/name}","releases_url":"https://api.github.com/repos/sfbrigade/ohana-api/releases{/id}","created_at":"2014-04-17T16:42:06Z","updated_at":"2015-05-05T05:12:28Z","pushed_at":"2015-05-27T06:25:13Z","git_url":"git://github.com/sfbrigade/ohana-api.git","ssh_url":"git@github.com:sfbrigade/ohana-api.git","clone_url":"https://github.com/sfbrigade/ohana-api.git","svn_url":"https://github.com/sfbrigade/ohana-api","homepage":null,"size":6021,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"sfbrigade:master","ref":"master","sha":"df0bc7d9c5b29a9e10bf4502343ab742d717c6ac","user":{"login":"sfbrigade","id":3926630,"avatar_url":"https://avatars.githubusercontent.com/u/3926630?v=3","gravatar_id":"","url":"https://api.github.com/users/sfbrigade","html_url":"https://github.com/sfbrigade","followers_url":"https://api.github.com/users/sfbrigade/followers","following_url":"https://api.github.com/users/sfbrigade/following{/other_user}","gists_url":"https://api.github.com/users/sfbrigade/gists{/gist_id}","starred_url":"https://api.github.com/users/sfbrigade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfbrigade/subscriptions","organizations_url":"https://api.github.com/users/sfbrigade/orgs","repos_url":"https://api.github.com/users/sfbrigade/repos","events_url":"https://api.github.com/users/sfbrigade/events{/privacy}","received_events_url":"https://api.github.com/users/sfbrigade/received_events","type":"Organization","site_admin":false},"repo":{"id":18885866,"name":"ohana-api","full_name":"sfbrigade/ohana-api","owner":{"login":"sfbrigade","id":3926630,"avatar_url":"https://avatars.githubusercontent.com/u/3926630?v=3","gravatar_id":"","url":"https://api.github.com/users/sfbrigade","html_url":"https://github.com/sfbrigade","followers_url":"https://api.github.com/users/sfbrigade/followers","following_url":"https://api.github.com/users/sfbrigade/following{/other_user}","gists_url":"https://api.github.com/users/sfbrigade/gists{/gist_id}","starred_url":"https://api.github.com/users/sfbrigade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfbrigade/subscriptions","organizations_url":"https://api.github.com/users/sfbrigade/orgs","repos_url":"https://api.github.com/users/sfbrigade/repos","events_url":"https://api.github.com/users/sfbrigade/events{/privacy}","received_events_url":"https://api.github.com/users/sfbrigade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sfbrigade/ohana-api","description":"The open source API directory of community social services.","fork":true,"url":"https://api.github.com/repos/sfbrigade/ohana-api","forks_url":"https://api.github.com/repos/sfbrigade/ohana-api/forks","keys_url":"https://api.github.com/repos/sfbrigade/ohana-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfbrigade/ohana-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfbrigade/ohana-api/teams","hooks_url":"https://api.github.com/repos/sfbrigade/ohana-api/hooks","issue_events_url":"https://api.github.com/repos/sfbrigade/ohana-api/issues/events{/number}","events_url":"https://api.github.com/repos/sfbrigade/ohana-api/events","assignees_url":"https://api.github.com/repos/sfbrigade/ohana-api/assignees{/user}","branches_url":"https://api.github.com/repos/sfbrigade/ohana-api/branches{/branch}","tags_url":"https://api.github.com/repos/sfbrigade/ohana-api/tags","blobs_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfbrigade/ohana-api/statuses/{sha}","languages_url":"https://api.github.com/repos/sfbrigade/ohana-api/languages","stargazers_url":"https://api.github.com/repos/sfbrigade/ohana-api/stargazers","contributors_url":"https://api.github.com/repos/sfbrigade/ohana-api/contributors","subscribers_url":"https://api.github.com/repos/sfbrigade/ohana-api/subscribers","subscription_url":"https://api.github.com/repos/sfbrigade/ohana-api/subscription","commits_url":"https://api.github.com/repos/sfbrigade/ohana-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfbrigade/ohana-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfbrigade/ohana-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfbrigade/ohana-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfbrigade/ohana-api/contents/{+path}","compare_url":"https://api.github.com/repos/sfbrigade/ohana-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfbrigade/ohana-api/merges","archive_url":"https://api.github.com/repos/sfbrigade/ohana-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfbrigade/ohana-api/downloads","issues_url":"https://api.github.com/repos/sfbrigade/ohana-api/issues{/number}","pulls_url":"https://api.github.com/repos/sfbrigade/ohana-api/pulls{/number}","milestones_url":"https://api.github.com/repos/sfbrigade/ohana-api/milestones{/number}","notifications_url":"https://api.github.com/repos/sfbrigade/ohana-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfbrigade/ohana-api/labels{/name}","releases_url":"https://api.github.com/repos/sfbrigade/ohana-api/releases{/id}","created_at":"2014-04-17T16:42:06Z","updated_at":"2015-05-05T05:12:28Z","pushed_at":"2015-05-27T06:25:13Z","git_url":"git://github.com/sfbrigade/ohana-api.git","ssh_url":"git@github.com:sfbrigade/ohana-api.git","clone_url":"https://github.com/sfbrigade/ohana-api.git","svn_url":"https://github.com/sfbrigade/ohana-api","homepage":null,"size":6021,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/29"},"html":{"href":"https://github.com/sfbrigade/ohana-api/pull/29"},"issue":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/issues/29"},"comments":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/sfbrigade/ohana-api/statuses/4df7f7caf93b8fff39e2fd0aa8299870a8ca14c4"}}}}