{"action":"created","comment":{"url":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/comments/145707874","pull_request_review_id":70546623,"id":145707874,"diff_hunk":"@@ -0,0 +1,9 @@\n+require 'rails_helper'\n+\n+RSpec.describe User, type: :model do\n+  it { should have_valid(:username).when('Jon', 'Sam')}\n+ it { should_not have_valid(:username).when(nil, '')}\n+\n+ it { should have_valid(:state).when('NH', 'New Hampshire')}\n+ it { should_not have_valid(:state).when(nil, '')}\n+end","path":"spec/models/user_spec.rb","position":9,"original_position":9,"commit_id":"0397a394b808e9536cf4ea052a5dc7fd1fc7a211","original_commit_id":"0397a394b808e9536cf4ea052a5dc7fd1fc7a211","user":{"login":"chrissyfancy","id":17282791,"avatar_url":"https://avatars2.githubusercontent.com/u/17282791?v=4","gravatar_id":"","url":"https://api.github.com/users/chrissyfancy","html_url":"https://github.com/chrissyfancy","followers_url":"https://api.github.com/users/chrissyfancy/followers","following_url":"https://api.github.com/users/chrissyfancy/following{/other_user}","gists_url":"https://api.github.com/users/chrissyfancy/gists{/gist_id}","starred_url":"https://api.github.com/users/chrissyfancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrissyfancy/subscriptions","organizations_url":"https://api.github.com/users/chrissyfancy/orgs","repos_url":"https://api.github.com/users/chrissyfancy/repos","events_url":"https://api.github.com/users/chrissyfancy/events{/privacy}","received_events_url":"https://api.github.com/users/chrissyfancy/received_events","type":"User","site_admin":false},"body":"This should be thoroughly testing everything in the associated user model/table.. Should you be adding tests for Password and Email as well?","created_at":"2017-10-19T13:58:35Z","updated_at":"2017-10-19T13:58:35Z","html_url":"https://github.com/uncommonAP/booze_yourself/pull/9#discussion_r145707874","pull_request_url":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/comments/145707874"},"html":{"href":"https://github.com/uncommonAP/booze_yourself/pull/9#discussion_r145707874"},"pull_request":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/9","id":147409940,"html_url":"https://github.com/uncommonAP/booze_yourself/pull/9","diff_url":"https://github.com/uncommonAP/booze_yourself/pull/9.diff","patch_url":"https://github.com/uncommonAP/booze_yourself/pull/9.patch","issue_url":"https://api.github.com/repos/uncommonAP/booze_yourself/issues/9","number":9,"state":"open","locked":false,"title":"testsGALORE","user":{"login":"JackSoby","id":31515061,"avatar_url":"https://avatars2.githubusercontent.com/u/31515061?v=4","gravatar_id":"","url":"https://api.github.com/users/JackSoby","html_url":"https://github.com/JackSoby","followers_url":"https://api.github.com/users/JackSoby/followers","following_url":"https://api.github.com/users/JackSoby/following{/other_user}","gists_url":"https://api.github.com/users/JackSoby/gists{/gist_id}","starred_url":"https://api.github.com/users/JackSoby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackSoby/subscriptions","organizations_url":"https://api.github.com/users/JackSoby/orgs","repos_url":"https://api.github.com/users/JackSoby/repos","events_url":"https://api.github.com/users/JackSoby/events{/privacy}","received_events_url":"https://api.github.com/users/JackSoby/received_events","type":"User","site_admin":false},"body":"devise gem revised and tested log in sign up and sign out","created_at":"2017-10-18T21:04:12Z","updated_at":"2017-10-19T13:58:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46cae8b45bb37b65d72c69d3400f5d0d88d9ce77","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/9/commits","review_comments_url":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/9/comments","review_comment_url":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uncommonAP/booze_yourself/issues/9/comments","statuses_url":"https://api.github.com/repos/uncommonAP/booze_yourself/statuses/0397a394b808e9536cf4ea052a5dc7fd1fc7a211","head":{"label":"uncommonAP:devise_take_two","ref":"devise_take_two","sha":"0397a394b808e9536cf4ea052a5dc7fd1fc7a211","user":{"login":"uncommonAP","id":31625704,"avatar_url":"https://avatars3.githubusercontent.com/u/31625704?v=4","gravatar_id":"","url":"https://api.github.com/users/uncommonAP","html_url":"https://github.com/uncommonAP","followers_url":"https://api.github.com/users/uncommonAP/followers","following_url":"https://api.github.com/users/uncommonAP/following{/other_user}","gists_url":"https://api.github.com/users/uncommonAP/gists{/gist_id}","starred_url":"https://api.github.com/users/uncommonAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncommonAP/subscriptions","organizations_url":"https://api.github.com/users/uncommonAP/orgs","repos_url":"https://api.github.com/users/uncommonAP/repos","events_url":"https://api.github.com/users/uncommonAP/events{/privacy}","received_events_url":"https://api.github.com/users/uncommonAP/received_events","type":"User","site_admin":false},"repo":{"id":107145507,"name":"booze_yourself","full_name":"uncommonAP/booze_yourself","owner":{"login":"uncommonAP","id":31625704,"avatar_url":"https://avatars3.githubusercontent.com/u/31625704?v=4","gravatar_id":"","url":"https://api.github.com/users/uncommonAP","html_url":"https://github.com/uncommonAP","followers_url":"https://api.github.com/users/uncommonAP/followers","following_url":"https://api.github.com/users/uncommonAP/following{/other_user}","gists_url":"https://api.github.com/users/uncommonAP/gists{/gist_id}","starred_url":"https://api.github.com/users/uncommonAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncommonAP/subscriptions","organizations_url":"https://api.github.com/users/uncommonAP/orgs","repos_url":"https://api.github.com/users/uncommonAP/repos","events_url":"https://api.github.com/users/uncommonAP/events{/privacy}","received_events_url":"https://api.github.com/users/uncommonAP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uncommonAP/booze_yourself","description":"Group Project: Brewery/Beer review site","fork":false,"url":"https://api.github.com/repos/uncommonAP/booze_yourself","forks_url":"https://api.github.com/repos/uncommonAP/booze_yourself/forks","keys_url":"https://api.github.com/repos/uncommonAP/booze_yourself/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uncommonAP/booze_yourself/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uncommonAP/booze_yourself/teams","hooks_url":"https://api.github.com/repos/uncommonAP/booze_yourself/hooks","issue_events_url":"https://api.github.com/repos/uncommonAP/booze_yourself/issues/events{/number}","events_url":"https://api.github.com/repos/uncommonAP/booze_yourself/events","assignees_url":"https://api.github.com/repos/uncommonAP/booze_yourself/assignees{/user}","branches_url":"https://api.github.com/repos/uncommonAP/booze_yourself/branches{/branch}","tags_url":"https://api.github.com/repos/uncommonAP/booze_yourself/tags","blobs_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/refs{/sha}","trees_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uncommonAP/booze_yourself/statuses/{sha}","languages_url":"https://api.github.com/repos/uncommonAP/booze_yourself/languages","stargazers_url":"https://api.github.com/repos/uncommonAP/booze_yourself/stargazers","contributors_url":"https://api.github.com/repos/uncommonAP/booze_yourself/contributors","subscribers_url":"https://api.github.com/repos/uncommonAP/booze_yourself/subscribers","subscription_url":"https://api.github.com/repos/uncommonAP/booze_yourself/subscription","commits_url":"https://api.github.com/repos/uncommonAP/booze_yourself/commits{/sha}","git_commits_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/commits{/sha}","comments_url":"https://api.github.com/repos/uncommonAP/booze_yourself/comments{/number}","issue_comment_url":"https://api.github.com/repos/uncommonAP/booze_yourself/issues/comments{/number}","contents_url":"https://api.github.com/repos/uncommonAP/booze_yourself/contents/{+path}","compare_url":"https://api.github.com/repos/uncommonAP/booze_yourself/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uncommonAP/booze_yourself/merges","archive_url":"https://api.github.com/repos/uncommonAP/booze_yourself/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uncommonAP/booze_yourself/downloads","issues_url":"https://api.github.com/repos/uncommonAP/booze_yourself/issues{/number}","pulls_url":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls{/number}","milestones_url":"https://api.github.com/repos/uncommonAP/booze_yourself/milestones{/number}","notifications_url":"https://api.github.com/repos/uncommonAP/booze_yourself/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uncommonAP/booze_yourself/labels{/name}","releases_url":"https://api.github.com/repos/uncommonAP/booze_yourself/releases{/id}","deployments_url":"https://api.github.com/repos/uncommonAP/booze_yourself/deployments","created_at":"2017-10-16T15:19:50Z","updated_at":"2017-10-16T17:09:24Z","pushed_at":"2017-10-19T13:49:32Z","git_url":"git://github.com/uncommonAP/booze_yourself.git","ssh_url":"git@github.com:uncommonAP/booze_yourself.git","clone_url":"https://github.com/uncommonAP/booze_yourself.git","svn_url":"https://github.com/uncommonAP/booze_yourself","homepage":null,"size":226,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"uncommonAP:master","ref":"master","sha":"0f801766cfc0dad0609813a525a98cfe8ac088a5","user":{"login":"uncommonAP","id":31625704,"avatar_url":"https://avatars3.githubusercontent.com/u/31625704?v=4","gravatar_id":"","url":"https://api.github.com/users/uncommonAP","html_url":"https://github.com/uncommonAP","followers_url":"https://api.github.com/users/uncommonAP/followers","following_url":"https://api.github.com/users/uncommonAP/following{/other_user}","gists_url":"https://api.github.com/users/uncommonAP/gists{/gist_id}","starred_url":"https://api.github.com/users/uncommonAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncommonAP/subscriptions","organizations_url":"https://api.github.com/users/uncommonAP/orgs","repos_url":"https://api.github.com/users/uncommonAP/repos","events_url":"https://api.github.com/users/uncommonAP/events{/privacy}","received_events_url":"https://api.github.com/users/uncommonAP/received_events","type":"User","site_admin":false},"repo":{"id":107145507,"name":"booze_yourself","full_name":"uncommonAP/booze_yourself","owner":{"login":"uncommonAP","id":31625704,"avatar_url":"https://avatars3.githubusercontent.com/u/31625704?v=4","gravatar_id":"","url":"https://api.github.com/users/uncommonAP","html_url":"https://github.com/uncommonAP","followers_url":"https://api.github.com/users/uncommonAP/followers","following_url":"https://api.github.com/users/uncommonAP/following{/other_user}","gists_url":"https://api.github.com/users/uncommonAP/gists{/gist_id}","starred_url":"https://api.github.com/users/uncommonAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncommonAP/subscriptions","organizations_url":"https://api.github.com/users/uncommonAP/orgs","repos_url":"https://api.github.com/users/uncommonAP/repos","events_url":"https://api.github.com/users/uncommonAP/events{/privacy}","received_events_url":"https://api.github.com/users/uncommonAP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uncommonAP/booze_yourself","description":"Group Project: Brewery/Beer review site","fork":false,"url":"https://api.github.com/repos/uncommonAP/booze_yourself","forks_url":"https://api.github.com/repos/uncommonAP/booze_yourself/forks","keys_url":"https://api.github.com/repos/uncommonAP/booze_yourself/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uncommonAP/booze_yourself/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uncommonAP/booze_yourself/teams","hooks_url":"https://api.github.com/repos/uncommonAP/booze_yourself/hooks","issue_events_url":"https://api.github.com/repos/uncommonAP/booze_yourself/issues/events{/number}","events_url":"https://api.github.com/repos/uncommonAP/booze_yourself/events","assignees_url":"https://api.github.com/repos/uncommonAP/booze_yourself/assignees{/user}","branches_url":"https://api.github.com/repos/uncommonAP/booze_yourself/branches{/branch}","tags_url":"https://api.github.com/repos/uncommonAP/booze_yourself/tags","blobs_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/refs{/sha}","trees_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uncommonAP/booze_yourself/statuses/{sha}","languages_url":"https://api.github.com/repos/uncommonAP/booze_yourself/languages","stargazers_url":"https://api.github.com/repos/uncommonAP/booze_yourself/stargazers","contributors_url":"https://api.github.com/repos/uncommonAP/booze_yourself/contributors","subscribers_url":"https://api.github.com/repos/uncommonAP/booze_yourself/subscribers","subscription_url":"https://api.github.com/repos/uncommonAP/booze_yourself/subscription","commits_url":"https://api.github.com/repos/uncommonAP/booze_yourself/commits{/sha}","git_commits_url":"https://api.github.com/repos/uncommonAP/booze_yourself/git/commits{/sha}","comments_url":"https://api.github.com/repos/uncommonAP/booze_yourself/comments{/number}","issue_comment_url":"https://api.github.com/repos/uncommonAP/booze_yourself/issues/comments{/number}","contents_url":"https://api.github.com/repos/uncommonAP/booze_yourself/contents/{+path}","compare_url":"https://api.github.com/repos/uncommonAP/booze_yourself/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uncommonAP/booze_yourself/merges","archive_url":"https://api.github.com/repos/uncommonAP/booze_yourself/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uncommonAP/booze_yourself/downloads","issues_url":"https://api.github.com/repos/uncommonAP/booze_yourself/issues{/number}","pulls_url":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls{/number}","milestones_url":"https://api.github.com/repos/uncommonAP/booze_yourself/milestones{/number}","notifications_url":"https://api.github.com/repos/uncommonAP/booze_yourself/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uncommonAP/booze_yourself/labels{/name}","releases_url":"https://api.github.com/repos/uncommonAP/booze_yourself/releases{/id}","deployments_url":"https://api.github.com/repos/uncommonAP/booze_yourself/deployments","created_at":"2017-10-16T15:19:50Z","updated_at":"2017-10-16T17:09:24Z","pushed_at":"2017-10-19T13:49:32Z","git_url":"git://github.com/uncommonAP/booze_yourself.git","ssh_url":"git@github.com:uncommonAP/booze_yourself.git","clone_url":"https://github.com/uncommonAP/booze_yourself.git","svn_url":"https://github.com/uncommonAP/booze_yourself","homepage":null,"size":226,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/9"},"html":{"href":"https://github.com/uncommonAP/booze_yourself/pull/9"},"issue":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/issues/9"},"comments":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/uncommonAP/booze_yourself/statuses/0397a394b808e9536cf4ea052a5dc7fd1fc7a211"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"chrissyfancy"}}