{"action":"created","comment":{"url":"https://api.github.com/repos/hooroo/BudgetApp/pulls/comments/168898737","pull_request_review_id":97350405,"id":168898737,"diff_hunk":"@@ -0,0 +1,14 @@\n+module Helpers\n+  def log_in_as(user, options = {})\n+    options[:password]\n+    options[:email]\n+    session[:user_id] = user.id\n+  end\n+\n+  def feature_log_in_as(user)","path":"spec/helpers/helpers.rb","position":null,"original_position":8,"commit_id":"5e2fd92b4195a24a22d091dfb50e1d5cbc57f56f","original_commit_id":"e88761d04c9b45acee3be145b0f651c22f414937","user":{"login":"apalski","id":21995514,"avatar_url":"https://avatars0.githubusercontent.com/u/21995514?v=4","gravatar_id":"","url":"https://api.github.com/users/apalski","html_url":"https://github.com/apalski","followers_url":"https://api.github.com/users/apalski/followers","following_url":"https://api.github.com/users/apalski/following{/other_user}","gists_url":"https://api.github.com/users/apalski/gists{/gist_id}","starred_url":"https://api.github.com/users/apalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apalski/subscriptions","organizations_url":"https://api.github.com/users/apalski/orgs","repos_url":"https://api.github.com/users/apalski/repos","events_url":"https://api.github.com/users/apalski/events{/privacy}","received_events_url":"https://api.github.com/users/apalski/received_events","type":"User","site_admin":false},"body":"Done in sha: 5e2fd92","created_at":"2018-02-16T23:55:48Z","updated_at":"2018-02-16T23:55:48Z","html_url":"https://github.com/hooroo/BudgetApp/pull/24#discussion_r168898737","pull_request_url":"https://api.github.com/repos/hooroo/BudgetApp/pulls/24","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/hooroo/BudgetApp/pulls/comments/168898737"},"html":{"href":"https://github.com/hooroo/BudgetApp/pull/24#discussion_r168898737"},"pull_request":{"href":"https://api.github.com/repos/hooroo/BudgetApp/pulls/24"}},"in_reply_to_id":168373759},"pull_request":{"url":"https://api.github.com/repos/hooroo/BudgetApp/pulls/24","id":169234095,"html_url":"https://github.com/hooroo/BudgetApp/pull/24","diff_url":"https://github.com/hooroo/BudgetApp/pull/24.diff","patch_url":"https://github.com/hooroo/BudgetApp/pull/24.patch","issue_url":"https://api.github.com/repos/hooroo/BudgetApp/issues/24","number":24,"state":"open","locked":false,"title":"Ad users session in specs","user":{"login":"apalski","id":21995514,"avatar_url":"https://avatars0.githubusercontent.com/u/21995514?v=4","gravatar_id":"","url":"https://api.github.com/users/apalski","html_url":"https://github.com/apalski","followers_url":"https://api.github.com/users/apalski/followers","following_url":"https://api.github.com/users/apalski/following{/other_user}","gists_url":"https://api.github.com/users/apalski/gists{/gist_id}","starred_url":"https://api.github.com/users/apalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apalski/subscriptions","organizations_url":"https://api.github.com/users/apalski/orgs","repos_url":"https://api.github.com/users/apalski/repos","events_url":"https://api.github.com/users/apalski/events{/privacy}","received_events_url":"https://api.github.com/users/apalski/received_events","type":"User","site_admin":false},"body":"PR to add session login to user specs\r\n- add spec helper methods log_in_as and feature_log_in_as\r\n- add index route and action to users\r\n- add logged_in? and require_login helper methods to application controller\r\n- add before_action require_login to users controller\r\n- add delete spec to users controller spec\r\nLooking for feedback on all aspects of PR.\r\nThanks for looking at this for me.\r\nhttps://trello.com/c/XxsClbPC","created_at":"2018-02-14T22:01:40Z","updated_at":"2018-02-16T23:55:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7c545c36291cd702f12b60c209883597850ed54","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hooroo/BudgetApp/pulls/24/commits","review_comments_url":"https://api.github.com/repos/hooroo/BudgetApp/pulls/24/comments","review_comment_url":"https://api.github.com/repos/hooroo/BudgetApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hooroo/BudgetApp/issues/24/comments","statuses_url":"https://api.github.com/repos/hooroo/BudgetApp/statuses/5e2fd92b4195a24a22d091dfb50e1d5cbc57f56f","head":{"label":"hooroo:ad-users-session-in-specs","ref":"ad-users-session-in-specs","sha":"5e2fd92b4195a24a22d091dfb50e1d5cbc57f56f","user":{"login":"hooroo","id":785479,"avatar_url":"https://avatars0.githubusercontent.com/u/785479?v=4","gravatar_id":"","url":"https://api.github.com/users/hooroo","html_url":"https://github.com/hooroo","followers_url":"https://api.github.com/users/hooroo/followers","following_url":"https://api.github.com/users/hooroo/following{/other_user}","gists_url":"https://api.github.com/users/hooroo/gists{/gist_id}","starred_url":"https://api.github.com/users/hooroo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hooroo/subscriptions","organizations_url":"https://api.github.com/users/hooroo/orgs","repos_url":"https://api.github.com/users/hooroo/repos","events_url":"https://api.github.com/users/hooroo/events{/privacy}","received_events_url":"https://api.github.com/users/hooroo/received_events","type":"Organization","site_admin":false},"repo":{"id":111200727,"name":"BudgetApp","full_name":"hooroo/BudgetApp","owner":{"login":"hooroo","id":785479,"avatar_url":"https://avatars0.githubusercontent.com/u/785479?v=4","gravatar_id":"","url":"https://api.github.com/users/hooroo","html_url":"https://github.com/hooroo","followers_url":"https://api.github.com/users/hooroo/followers","following_url":"https://api.github.com/users/hooroo/following{/other_user}","gists_url":"https://api.github.com/users/hooroo/gists{/gist_id}","starred_url":"https://api.github.com/users/hooroo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hooroo/subscriptions","organizations_url":"https://api.github.com/users/hooroo/orgs","repos_url":"https://api.github.com/users/hooroo/repos","events_url":"https://api.github.com/users/hooroo/events{/privacy}","received_events_url":"https://api.github.com/users/hooroo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hooroo/BudgetApp","description":"Rails JQuery React app to allow user to create and manage their budget","fork":false,"url":"https://api.github.com/repos/hooroo/BudgetApp","forks_url":"https://api.github.com/repos/hooroo/BudgetApp/forks","keys_url":"https://api.github.com/repos/hooroo/BudgetApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hooroo/BudgetApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hooroo/BudgetApp/teams","hooks_url":"https://api.github.com/repos/hooroo/BudgetApp/hooks","issue_events_url":"https://api.github.com/repos/hooroo/BudgetApp/issues/events{/number}","events_url":"https://api.github.com/repos/hooroo/BudgetApp/events","assignees_url":"https://api.github.com/repos/hooroo/BudgetApp/assignees{/user}","branches_url":"https://api.github.com/repos/hooroo/BudgetApp/branches{/branch}","tags_url":"https://api.github.com/repos/hooroo/BudgetApp/tags","blobs_url":"https://api.github.com/repos/hooroo/BudgetApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hooroo/BudgetApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hooroo/BudgetApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/hooroo/BudgetApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hooroo/BudgetApp/statuses/{sha}","languages_url":"https://api.github.com/repos/hooroo/BudgetApp/languages","stargazers_url":"https://api.github.com/repos/hooroo/BudgetApp/stargazers","contributors_url":"https://api.github.com/repos/hooroo/BudgetApp/contributors","subscribers_url":"https://api.github.com/repos/hooroo/BudgetApp/subscribers","subscription_url":"https://api.github.com/repos/hooroo/BudgetApp/subscription","commits_url":"https://api.github.com/repos/hooroo/BudgetApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/hooroo/BudgetApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/hooroo/BudgetApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/hooroo/BudgetApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/hooroo/BudgetApp/contents/{+path}","compare_url":"https://api.github.com/repos/hooroo/BudgetApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hooroo/BudgetApp/merges","archive_url":"https://api.github.com/repos/hooroo/BudgetApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hooroo/BudgetApp/downloads","issues_url":"https://api.github.com/repos/hooroo/BudgetApp/issues{/number}","pulls_url":"https://api.github.com/repos/hooroo/BudgetApp/pulls{/number}","milestones_url":"https://api.github.com/repos/hooroo/BudgetApp/milestones{/number}","notifications_url":"https://api.github.com/repos/hooroo/BudgetApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hooroo/BudgetApp/labels{/name}","releases_url":"https://api.github.com/repos/hooroo/BudgetApp/releases{/id}","deployments_url":"https://api.github.com/repos/hooroo/BudgetApp/deployments","created_at":"2017-11-18T11:39:32Z","updated_at":"2017-11-18T11:50:21Z","pushed_at":"2018-02-16T23:53:50Z","git_url":"git://github.com/hooroo/BudgetApp.git","ssh_url":"git@github.com:hooroo/BudgetApp.git","clone_url":"https://github.com/hooroo/BudgetApp.git","svn_url":"https://github.com/hooroo/BudgetApp","homepage":"","size":461,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"hooroo:master","ref":"master","sha":"13dfedef27dce488b9dee81f40514c12f452e0f3","user":{"login":"hooroo","id":785479,"avatar_url":"https://avatars0.githubusercontent.com/u/785479?v=4","gravatar_id":"","url":"https://api.github.com/users/hooroo","html_url":"https://github.com/hooroo","followers_url":"https://api.github.com/users/hooroo/followers","following_url":"https://api.github.com/users/hooroo/following{/other_user}","gists_url":"https://api.github.com/users/hooroo/gists{/gist_id}","starred_url":"https://api.github.com/users/hooroo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hooroo/subscriptions","organizations_url":"https://api.github.com/users/hooroo/orgs","repos_url":"https://api.github.com/users/hooroo/repos","events_url":"https://api.github.com/users/hooroo/events{/privacy}","received_events_url":"https://api.github.com/users/hooroo/received_events","type":"Organization","site_admin":false},"repo":{"id":111200727,"name":"BudgetApp","full_name":"hooroo/BudgetApp","owner":{"login":"hooroo","id":785479,"avatar_url":"https://avatars0.githubusercontent.com/u/785479?v=4","gravatar_id":"","url":"https://api.github.com/users/hooroo","html_url":"https://github.com/hooroo","followers_url":"https://api.github.com/users/hooroo/followers","following_url":"https://api.github.com/users/hooroo/following{/other_user}","gists_url":"https://api.github.com/users/hooroo/gists{/gist_id}","starred_url":"https://api.github.com/users/hooroo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hooroo/subscriptions","organizations_url":"https://api.github.com/users/hooroo/orgs","repos_url":"https://api.github.com/users/hooroo/repos","events_url":"https://api.github.com/users/hooroo/events{/privacy}","received_events_url":"https://api.github.com/users/hooroo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hooroo/BudgetApp","description":"Rails JQuery React app to allow user to create and manage their budget","fork":false,"url":"https://api.github.com/repos/hooroo/BudgetApp","forks_url":"https://api.github.com/repos/hooroo/BudgetApp/forks","keys_url":"https://api.github.com/repos/hooroo/BudgetApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hooroo/BudgetApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hooroo/BudgetApp/teams","hooks_url":"https://api.github.com/repos/hooroo/BudgetApp/hooks","issue_events_url":"https://api.github.com/repos/hooroo/BudgetApp/issues/events{/number}","events_url":"https://api.github.com/repos/hooroo/BudgetApp/events","assignees_url":"https://api.github.com/repos/hooroo/BudgetApp/assignees{/user}","branches_url":"https://api.github.com/repos/hooroo/BudgetApp/branches{/branch}","tags_url":"https://api.github.com/repos/hooroo/BudgetApp/tags","blobs_url":"https://api.github.com/repos/hooroo/BudgetApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hooroo/BudgetApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hooroo/BudgetApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/hooroo/BudgetApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hooroo/BudgetApp/statuses/{sha}","languages_url":"https://api.github.com/repos/hooroo/BudgetApp/languages","stargazers_url":"https://api.github.com/repos/hooroo/BudgetApp/stargazers","contributors_url":"https://api.github.com/repos/hooroo/BudgetApp/contributors","subscribers_url":"https://api.github.com/repos/hooroo/BudgetApp/subscribers","subscription_url":"https://api.github.com/repos/hooroo/BudgetApp/subscription","commits_url":"https://api.github.com/repos/hooroo/BudgetApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/hooroo/BudgetApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/hooroo/BudgetApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/hooroo/BudgetApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/hooroo/BudgetApp/contents/{+path}","compare_url":"https://api.github.com/repos/hooroo/BudgetApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hooroo/BudgetApp/merges","archive_url":"https://api.github.com/repos/hooroo/BudgetApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hooroo/BudgetApp/downloads","issues_url":"https://api.github.com/repos/hooroo/BudgetApp/issues{/number}","pulls_url":"https://api.github.com/repos/hooroo/BudgetApp/pulls{/number}","milestones_url":"https://api.github.com/repos/hooroo/BudgetApp/milestones{/number}","notifications_url":"https://api.github.com/repos/hooroo/BudgetApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hooroo/BudgetApp/labels{/name}","releases_url":"https://api.github.com/repos/hooroo/BudgetApp/releases{/id}","deployments_url":"https://api.github.com/repos/hooroo/BudgetApp/deployments","created_at":"2017-11-18T11:39:32Z","updated_at":"2017-11-18T11:50:21Z","pushed_at":"2018-02-16T23:53:50Z","git_url":"git://github.com/hooroo/BudgetApp.git","ssh_url":"git@github.com:hooroo/BudgetApp.git","clone_url":"https://github.com/hooroo/BudgetApp.git","svn_url":"https://github.com/hooroo/BudgetApp","homepage":"","size":461,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hooroo/BudgetApp/pulls/24"},"html":{"href":"https://github.com/hooroo/BudgetApp/pull/24"},"issue":{"href":"https://api.github.com/repos/hooroo/BudgetApp/issues/24"},"comments":{"href":"https://api.github.com/repos/hooroo/BudgetApp/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/hooroo/BudgetApp/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/hooroo/BudgetApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hooroo/BudgetApp/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/hooroo/BudgetApp/statuses/5e2fd92b4195a24a22d091dfb50e1d5cbc57f56f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"apalski"}}