{"action":"created","comment":{"url":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/comments/150396796","pull_request_review_id":75945464,"id":150396796,"diff_hunk":"@@ -0,0 +1,45 @@\n+require \"test_helper\"\n+\n+class DormPolicyTest < ActiveSupport::TestCase\n+    # test \"the truth\" do\n+    #   assert true\n+    # end\n+    setup do\n+      @dorm = dorms(:one)","path":"test/policies/dorm_policy_test.rb","position":8,"original_position":8,"commit_id":"429831d6c957f994a3423f2a46c51a8e50a51203","original_commit_id":"429831d6c957f994a3423f2a46c51a8e50a51203","user":{"login":"sxmichaels","id":13933679,"avatar_url":"https://avatars1.githubusercontent.com/u/13933679?v=4","gravatar_id":"","url":"https://api.github.com/users/sxmichaels","html_url":"https://github.com/sxmichaels","followers_url":"https://api.github.com/users/sxmichaels/followers","following_url":"https://api.github.com/users/sxmichaels/following{/other_user}","gists_url":"https://api.github.com/users/sxmichaels/gists{/gist_id}","starred_url":"https://api.github.com/users/sxmichaels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sxmichaels/subscriptions","organizations_url":"https://api.github.com/users/sxmichaels/orgs","repos_url":"https://api.github.com/users/sxmichaels/repos","events_url":"https://api.github.com/users/sxmichaels/events{/privacy}","received_events_url":"https://api.github.com/users/sxmichaels/received_events","type":"User","site_admin":false},"body":"setup doesn't mock @current_user. These tests are not going to work.","created_at":"2017-11-12T00:08:12Z","updated_at":"2017-11-12T00:08:46Z","html_url":"https://github.com/hmc-room-draw/room-draw/pull/96#discussion_r150396796","pull_request_url":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/96","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/comments/150396796"},"html":{"href":"https://github.com/hmc-room-draw/room-draw/pull/96#discussion_r150396796"},"pull_request":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/96","id":151852351,"html_url":"https://github.com/hmc-room-draw/room-draw/pull/96","diff_url":"https://github.com/hmc-room-draw/room-draw/pull/96.diff","patch_url":"https://github.com/hmc-room-draw/room-draw/pull/96.patch","issue_url":"https://api.github.com/repos/hmc-room-draw/room-draw/issues/96","number":96,"state":"open","locked":false,"title":"Added data to seed file","user":{"login":"pmcdonough35","id":31291053,"avatar_url":"https://avatars3.githubusercontent.com/u/31291053?v=4","gravatar_id":"","url":"https://api.github.com/users/pmcdonough35","html_url":"https://github.com/pmcdonough35","followers_url":"https://api.github.com/users/pmcdonough35/followers","following_url":"https://api.github.com/users/pmcdonough35/following{/other_user}","gists_url":"https://api.github.com/users/pmcdonough35/gists{/gist_id}","starred_url":"https://api.github.com/users/pmcdonough35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmcdonough35/subscriptions","organizations_url":"https://api.github.com/users/pmcdonough35/orgs","repos_url":"https://api.github.com/users/pmcdonough35/repos","events_url":"https://api.github.com/users/pmcdonough35/events{/privacy}","received_events_url":"https://api.github.com/users/pmcdonough35/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-10T08:38:02Z","updated_at":"2017-11-12T00:08:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"124c72ad65a9d8bb878b36f56019bd71e31f4b14","assignee":null,"assignees":[],"requested_reviewers":[{"login":"hmc-cs-syasunaga","id":25192006,"avatar_url":"https://avatars1.githubusercontent.com/u/25192006?v=4","gravatar_id":"","url":"https://api.github.com/users/hmc-cs-syasunaga","html_url":"https://github.com/hmc-cs-syasunaga","followers_url":"https://api.github.com/users/hmc-cs-syasunaga/followers","following_url":"https://api.github.com/users/hmc-cs-syasunaga/following{/other_user}","gists_url":"https://api.github.com/users/hmc-cs-syasunaga/gists{/gist_id}","starred_url":"https://api.github.com/users/hmc-cs-syasunaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmc-cs-syasunaga/subscriptions","organizations_url":"https://api.github.com/users/hmc-cs-syasunaga/orgs","repos_url":"https://api.github.com/users/hmc-cs-syasunaga/repos","events_url":"https://api.github.com/users/hmc-cs-syasunaga/events{/privacy}","received_events_url":"https://api.github.com/users/hmc-cs-syasunaga/received_events","type":"User","site_admin":false},{"login":"sarpmis","id":31827116,"avatar_url":"https://avatars2.githubusercontent.com/u/31827116?v=4","gravatar_id":"","url":"https://api.github.com/users/sarpmis","html_url":"https://github.com/sarpmis","followers_url":"https://api.github.com/users/sarpmis/followers","following_url":"https://api.github.com/users/sarpmis/following{/other_user}","gists_url":"https://api.github.com/users/sarpmis/gists{/gist_id}","starred_url":"https://api.github.com/users/sarpmis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarpmis/subscriptions","organizations_url":"https://api.github.com/users/sarpmis/orgs","repos_url":"https://api.github.com/users/sarpmis/repos","events_url":"https://api.github.com/users/sarpmis/events{/privacy}","received_events_url":"https://api.github.com/users/sarpmis/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/96/commits","review_comments_url":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/96/comments","review_comment_url":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmc-room-draw/room-draw/issues/96/comments","statuses_url":"https://api.github.com/repos/hmc-room-draw/room-draw/statuses/429831d6c957f994a3423f2a46c51a8e50a51203","head":{"label":"hmc-room-draw:patrick","ref":"patrick","sha":"429831d6c957f994a3423f2a46c51a8e50a51203","user":{"login":"hmc-room-draw","id":32401653,"avatar_url":"https://avatars0.githubusercontent.com/u/32401653?v=4","gravatar_id":"","url":"https://api.github.com/users/hmc-room-draw","html_url":"https://github.com/hmc-room-draw","followers_url":"https://api.github.com/users/hmc-room-draw/followers","following_url":"https://api.github.com/users/hmc-room-draw/following{/other_user}","gists_url":"https://api.github.com/users/hmc-room-draw/gists{/gist_id}","starred_url":"https://api.github.com/users/hmc-room-draw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmc-room-draw/subscriptions","organizations_url":"https://api.github.com/users/hmc-room-draw/orgs","repos_url":"https://api.github.com/users/hmc-room-draw/repos","events_url":"https://api.github.com/users/hmc-room-draw/events{/privacy}","received_events_url":"https://api.github.com/users/hmc-room-draw/received_events","type":"Organization","site_admin":false},"repo":{"id":105316002,"name":"room-draw","full_name":"hmc-room-draw/room-draw","owner":{"login":"hmc-room-draw","id":32401653,"avatar_url":"https://avatars0.githubusercontent.com/u/32401653?v=4","gravatar_id":"","url":"https://api.github.com/users/hmc-room-draw","html_url":"https://github.com/hmc-room-draw","followers_url":"https://api.github.com/users/hmc-room-draw/followers","following_url":"https://api.github.com/users/hmc-room-draw/following{/other_user}","gists_url":"https://api.github.com/users/hmc-room-draw/gists{/gist_id}","starred_url":"https://api.github.com/users/hmc-room-draw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmc-room-draw/subscriptions","organizations_url":"https://api.github.com/users/hmc-room-draw/orgs","repos_url":"https://api.github.com/users/hmc-room-draw/repos","events_url":"https://api.github.com/users/hmc-room-draw/events{/privacy}","received_events_url":"https://api.github.com/users/hmc-room-draw/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmc-room-draw/room-draw","description":"CS121 Room Draw Project","fork":false,"url":"https://api.github.com/repos/hmc-room-draw/room-draw","forks_url":"https://api.github.com/repos/hmc-room-draw/room-draw/forks","keys_url":"https://api.github.com/repos/hmc-room-draw/room-draw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmc-room-draw/room-draw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmc-room-draw/room-draw/teams","hooks_url":"https://api.github.com/repos/hmc-room-draw/room-draw/hooks","issue_events_url":"https://api.github.com/repos/hmc-room-draw/room-draw/issues/events{/number}","events_url":"https://api.github.com/repos/hmc-room-draw/room-draw/events","assignees_url":"https://api.github.com/repos/hmc-room-draw/room-draw/assignees{/user}","branches_url":"https://api.github.com/repos/hmc-room-draw/room-draw/branches{/branch}","tags_url":"https://api.github.com/repos/hmc-room-draw/room-draw/tags","blobs_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmc-room-draw/room-draw/statuses/{sha}","languages_url":"https://api.github.com/repos/hmc-room-draw/room-draw/languages","stargazers_url":"https://api.github.com/repos/hmc-room-draw/room-draw/stargazers","contributors_url":"https://api.github.com/repos/hmc-room-draw/room-draw/contributors","subscribers_url":"https://api.github.com/repos/hmc-room-draw/room-draw/subscribers","subscription_url":"https://api.github.com/repos/hmc-room-draw/room-draw/subscription","commits_url":"https://api.github.com/repos/hmc-room-draw/room-draw/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmc-room-draw/room-draw/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmc-room-draw/room-draw/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmc-room-draw/room-draw/contents/{+path}","compare_url":"https://api.github.com/repos/hmc-room-draw/room-draw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmc-room-draw/room-draw/merges","archive_url":"https://api.github.com/repos/hmc-room-draw/room-draw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmc-room-draw/room-draw/downloads","issues_url":"https://api.github.com/repos/hmc-room-draw/room-draw/issues{/number}","pulls_url":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls{/number}","milestones_url":"https://api.github.com/repos/hmc-room-draw/room-draw/milestones{/number}","notifications_url":"https://api.github.com/repos/hmc-room-draw/room-draw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmc-room-draw/room-draw/labels{/name}","releases_url":"https://api.github.com/repos/hmc-room-draw/room-draw/releases{/id}","deployments_url":"https://api.github.com/repos/hmc-room-draw/room-draw/deployments","created_at":"2017-09-29T20:50:07Z","updated_at":"2017-09-29T20:50:51Z","pushed_at":"2017-11-11T22:35:34Z","git_url":"git://github.com/hmc-room-draw/room-draw.git","ssh_url":"git@github.com:hmc-room-draw/room-draw.git","clone_url":"https://github.com/hmc-room-draw/room-draw.git","svn_url":"https://github.com/hmc-room-draw/room-draw","homepage":null,"size":1517,"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":39,"forks":0,"open_issues":39,"watchers":0,"default_branch":"master"}},"base":{"label":"hmc-room-draw:master","ref":"master","sha":"3f806bfb617514ae4b7b6473174f32f40ca13db5","user":{"login":"hmc-room-draw","id":32401653,"avatar_url":"https://avatars0.githubusercontent.com/u/32401653?v=4","gravatar_id":"","url":"https://api.github.com/users/hmc-room-draw","html_url":"https://github.com/hmc-room-draw","followers_url":"https://api.github.com/users/hmc-room-draw/followers","following_url":"https://api.github.com/users/hmc-room-draw/following{/other_user}","gists_url":"https://api.github.com/users/hmc-room-draw/gists{/gist_id}","starred_url":"https://api.github.com/users/hmc-room-draw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmc-room-draw/subscriptions","organizations_url":"https://api.github.com/users/hmc-room-draw/orgs","repos_url":"https://api.github.com/users/hmc-room-draw/repos","events_url":"https://api.github.com/users/hmc-room-draw/events{/privacy}","received_events_url":"https://api.github.com/users/hmc-room-draw/received_events","type":"Organization","site_admin":false},"repo":{"id":105316002,"name":"room-draw","full_name":"hmc-room-draw/room-draw","owner":{"login":"hmc-room-draw","id":32401653,"avatar_url":"https://avatars0.githubusercontent.com/u/32401653?v=4","gravatar_id":"","url":"https://api.github.com/users/hmc-room-draw","html_url":"https://github.com/hmc-room-draw","followers_url":"https://api.github.com/users/hmc-room-draw/followers","following_url":"https://api.github.com/users/hmc-room-draw/following{/other_user}","gists_url":"https://api.github.com/users/hmc-room-draw/gists{/gist_id}","starred_url":"https://api.github.com/users/hmc-room-draw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmc-room-draw/subscriptions","organizations_url":"https://api.github.com/users/hmc-room-draw/orgs","repos_url":"https://api.github.com/users/hmc-room-draw/repos","events_url":"https://api.github.com/users/hmc-room-draw/events{/privacy}","received_events_url":"https://api.github.com/users/hmc-room-draw/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmc-room-draw/room-draw","description":"CS121 Room Draw Project","fork":false,"url":"https://api.github.com/repos/hmc-room-draw/room-draw","forks_url":"https://api.github.com/repos/hmc-room-draw/room-draw/forks","keys_url":"https://api.github.com/repos/hmc-room-draw/room-draw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmc-room-draw/room-draw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmc-room-draw/room-draw/teams","hooks_url":"https://api.github.com/repos/hmc-room-draw/room-draw/hooks","issue_events_url":"https://api.github.com/repos/hmc-room-draw/room-draw/issues/events{/number}","events_url":"https://api.github.com/repos/hmc-room-draw/room-draw/events","assignees_url":"https://api.github.com/repos/hmc-room-draw/room-draw/assignees{/user}","branches_url":"https://api.github.com/repos/hmc-room-draw/room-draw/branches{/branch}","tags_url":"https://api.github.com/repos/hmc-room-draw/room-draw/tags","blobs_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmc-room-draw/room-draw/statuses/{sha}","languages_url":"https://api.github.com/repos/hmc-room-draw/room-draw/languages","stargazers_url":"https://api.github.com/repos/hmc-room-draw/room-draw/stargazers","contributors_url":"https://api.github.com/repos/hmc-room-draw/room-draw/contributors","subscribers_url":"https://api.github.com/repos/hmc-room-draw/room-draw/subscribers","subscription_url":"https://api.github.com/repos/hmc-room-draw/room-draw/subscription","commits_url":"https://api.github.com/repos/hmc-room-draw/room-draw/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmc-room-draw/room-draw/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmc-room-draw/room-draw/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmc-room-draw/room-draw/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmc-room-draw/room-draw/contents/{+path}","compare_url":"https://api.github.com/repos/hmc-room-draw/room-draw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmc-room-draw/room-draw/merges","archive_url":"https://api.github.com/repos/hmc-room-draw/room-draw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmc-room-draw/room-draw/downloads","issues_url":"https://api.github.com/repos/hmc-room-draw/room-draw/issues{/number}","pulls_url":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls{/number}","milestones_url":"https://api.github.com/repos/hmc-room-draw/room-draw/milestones{/number}","notifications_url":"https://api.github.com/repos/hmc-room-draw/room-draw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmc-room-draw/room-draw/labels{/name}","releases_url":"https://api.github.com/repos/hmc-room-draw/room-draw/releases{/id}","deployments_url":"https://api.github.com/repos/hmc-room-draw/room-draw/deployments","created_at":"2017-09-29T20:50:07Z","updated_at":"2017-09-29T20:50:51Z","pushed_at":"2017-11-11T22:35:34Z","git_url":"git://github.com/hmc-room-draw/room-draw.git","ssh_url":"git@github.com:hmc-room-draw/room-draw.git","clone_url":"https://github.com/hmc-room-draw/room-draw.git","svn_url":"https://github.com/hmc-room-draw/room-draw","homepage":null,"size":1517,"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":39,"forks":0,"open_issues":39,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/96"},"html":{"href":"https://github.com/hmc-room-draw/room-draw/pull/96"},"issue":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/issues/96"},"comments":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/hmc-room-draw/room-draw/statuses/429831d6c957f994a3423f2a46c51a8e50a51203"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sxmichaels"}}