{"action":"created","comment":{"url":"https://api.github.com/repos/umts/jobapps/pulls/comments/71428861","id":71428861,"diff_hunk":"@@ -119,4 +119,30 @@\n       end\n     end\n   end\n+\n+  describe 'Check Primary Account' do\n+    let(:admin) { create :user, :admin }","path":"spec/controllers/dashboard_controller_spec.rb","position":6,"original_position":6,"commit_id":"3b972b013815190e5d1a0932b7a7633fc7f04aaa","original_commit_id":"3b972b013815190e5d1a0932b7a7633fc7f04aaa","user":{"login":"dfaulken","id":3988134,"avatar_url":"https://avatars.githubusercontent.com/u/3988134?v=3","gravatar_id":"","url":"https://api.github.com/users/dfaulken","html_url":"https://github.com/dfaulken","followers_url":"https://api.github.com/users/dfaulken/followers","following_url":"https://api.github.com/users/dfaulken/following{/other_user}","gists_url":"https://api.github.com/users/dfaulken/gists{/gist_id}","starred_url":"https://api.github.com/users/dfaulken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfaulken/subscriptions","organizations_url":"https://api.github.com/users/dfaulken/orgs","repos_url":"https://api.github.com/users/dfaulken/repos","events_url":"https://api.github.com/users/dfaulken/events{/privacy}","received_events_url":"https://api.github.com/users/dfaulken/received_events","type":"User","site_admin":false},"body":"Since we only need one user per context, better to create them at that level.","created_at":"2016-07-19T21:38:16Z","updated_at":"2016-07-19T21:38:16Z","html_url":"https://github.com/umts/jobapps/pull/262#discussion_r71428861","pull_request_url":"https://api.github.com/repos/umts/jobapps/pulls/262","_links":{"self":{"href":"https://api.github.com/repos/umts/jobapps/pulls/comments/71428861"},"html":{"href":"https://github.com/umts/jobapps/pull/262#discussion_r71428861"},"pull_request":{"href":"https://api.github.com/repos/umts/jobapps/pulls/262"}}},"pull_request":{"url":"https://api.github.com/repos/umts/jobapps/pulls/262","id":77847889,"html_url":"https://github.com/umts/jobapps/pull/262","diff_url":"https://github.com/umts/jobapps/pull/262.diff","patch_url":"https://github.com/umts/jobapps/pull/262.patch","issue_url":"https://api.github.com/repos/umts/jobapps/issues/262","number":262,"state":"open","locked":false,"title":"Subsidiary accounts can log in - Fix","user":{"login":"AkivaGreen","id":15308734,"avatar_url":"https://avatars.githubusercontent.com/u/15308734?v=3","gravatar_id":"","url":"https://api.github.com/users/AkivaGreen","html_url":"https://github.com/AkivaGreen","followers_url":"https://api.github.com/users/AkivaGreen/followers","following_url":"https://api.github.com/users/AkivaGreen/following{/other_user}","gists_url":"https://api.github.com/users/AkivaGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/AkivaGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkivaGreen/subscriptions","organizations_url":"https://api.github.com/users/AkivaGreen/orgs","repos_url":"https://api.github.com/users/AkivaGreen/repos","events_url":"https://api.github.com/users/AkivaGreen/events{/privacy}","received_events_url":"https://api.github.com/users/AkivaGreen/received_events","type":"User","site_admin":false},"body":"I want to resolve #136 with this pull request. ","created_at":"2016-07-18T17:41:37Z","updated_at":"2016-07-19T21:38:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4eeb511c2fea5575885dcd021289375b1b710c66","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/umts/jobapps/pulls/262/commits","review_comments_url":"https://api.github.com/repos/umts/jobapps/pulls/262/comments","review_comment_url":"https://api.github.com/repos/umts/jobapps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/umts/jobapps/issues/262/comments","statuses_url":"https://api.github.com/repos/umts/jobapps/statuses/3b972b013815190e5d1a0932b7a7633fc7f04aaa","head":{"label":"AkivaGreen:sub-account","ref":"sub-account","sha":"3b972b013815190e5d1a0932b7a7633fc7f04aaa","user":{"login":"AkivaGreen","id":15308734,"avatar_url":"https://avatars.githubusercontent.com/u/15308734?v=3","gravatar_id":"","url":"https://api.github.com/users/AkivaGreen","html_url":"https://github.com/AkivaGreen","followers_url":"https://api.github.com/users/AkivaGreen/followers","following_url":"https://api.github.com/users/AkivaGreen/following{/other_user}","gists_url":"https://api.github.com/users/AkivaGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/AkivaGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkivaGreen/subscriptions","organizations_url":"https://api.github.com/users/AkivaGreen/orgs","repos_url":"https://api.github.com/users/AkivaGreen/repos","events_url":"https://api.github.com/users/AkivaGreen/events{/privacy}","received_events_url":"https://api.github.com/users/AkivaGreen/received_events","type":"User","site_admin":false},"repo":{"id":61154847,"name":"jobapps","full_name":"AkivaGreen/jobapps","owner":{"login":"AkivaGreen","id":15308734,"avatar_url":"https://avatars.githubusercontent.com/u/15308734?v=3","gravatar_id":"","url":"https://api.github.com/users/AkivaGreen","html_url":"https://github.com/AkivaGreen","followers_url":"https://api.github.com/users/AkivaGreen/followers","following_url":"https://api.github.com/users/AkivaGreen/following{/other_user}","gists_url":"https://api.github.com/users/AkivaGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/AkivaGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkivaGreen/subscriptions","organizations_url":"https://api.github.com/users/AkivaGreen/orgs","repos_url":"https://api.github.com/users/AkivaGreen/repos","events_url":"https://api.github.com/users/AkivaGreen/events{/privacy}","received_events_url":"https://api.github.com/users/AkivaGreen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AkivaGreen/jobapps","description":"Barebones Rails 4 app for job application, interview scheduling, demographic reporting, and application resource configuration.","fork":true,"url":"https://api.github.com/repos/AkivaGreen/jobapps","forks_url":"https://api.github.com/repos/AkivaGreen/jobapps/forks","keys_url":"https://api.github.com/repos/AkivaGreen/jobapps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AkivaGreen/jobapps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AkivaGreen/jobapps/teams","hooks_url":"https://api.github.com/repos/AkivaGreen/jobapps/hooks","issue_events_url":"https://api.github.com/repos/AkivaGreen/jobapps/issues/events{/number}","events_url":"https://api.github.com/repos/AkivaGreen/jobapps/events","assignees_url":"https://api.github.com/repos/AkivaGreen/jobapps/assignees{/user}","branches_url":"https://api.github.com/repos/AkivaGreen/jobapps/branches{/branch}","tags_url":"https://api.github.com/repos/AkivaGreen/jobapps/tags","blobs_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/refs{/sha}","trees_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AkivaGreen/jobapps/statuses/{sha}","languages_url":"https://api.github.com/repos/AkivaGreen/jobapps/languages","stargazers_url":"https://api.github.com/repos/AkivaGreen/jobapps/stargazers","contributors_url":"https://api.github.com/repos/AkivaGreen/jobapps/contributors","subscribers_url":"https://api.github.com/repos/AkivaGreen/jobapps/subscribers","subscription_url":"https://api.github.com/repos/AkivaGreen/jobapps/subscription","commits_url":"https://api.github.com/repos/AkivaGreen/jobapps/commits{/sha}","git_commits_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/commits{/sha}","comments_url":"https://api.github.com/repos/AkivaGreen/jobapps/comments{/number}","issue_comment_url":"https://api.github.com/repos/AkivaGreen/jobapps/issues/comments{/number}","contents_url":"https://api.github.com/repos/AkivaGreen/jobapps/contents/{+path}","compare_url":"https://api.github.com/repos/AkivaGreen/jobapps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AkivaGreen/jobapps/merges","archive_url":"https://api.github.com/repos/AkivaGreen/jobapps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AkivaGreen/jobapps/downloads","issues_url":"https://api.github.com/repos/AkivaGreen/jobapps/issues{/number}","pulls_url":"https://api.github.com/repos/AkivaGreen/jobapps/pulls{/number}","milestones_url":"https://api.github.com/repos/AkivaGreen/jobapps/milestones{/number}","notifications_url":"https://api.github.com/repos/AkivaGreen/jobapps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AkivaGreen/jobapps/labels{/name}","releases_url":"https://api.github.com/repos/AkivaGreen/jobapps/releases{/id}","deployments_url":"https://api.github.com/repos/AkivaGreen/jobapps/deployments","created_at":"2016-06-14T20:50:15Z","updated_at":"2016-06-14T20:50:16Z","pushed_at":"2016-07-19T20:09:46Z","git_url":"git://github.com/AkivaGreen/jobapps.git","ssh_url":"git@github.com:AkivaGreen/jobapps.git","clone_url":"https://github.com/AkivaGreen/jobapps.git","svn_url":"https://github.com/AkivaGreen/jobapps","homepage":"https://transit-jobapps.admin.umass.edu","size":1698,"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":"umts:master","ref":"master","sha":"25ca17c0bd9fbbbcf2994c95f65df2398aba8dcd","user":{"login":"umts","id":398175,"avatar_url":"https://avatars.githubusercontent.com/u/398175?v=3","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"repo":{"id":35909798,"name":"jobapps","full_name":"umts/jobapps","owner":{"login":"umts","id":398175,"avatar_url":"https://avatars.githubusercontent.com/u/398175?v=3","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/umts/jobapps","description":"Barebones Rails 4 app for job application, interview scheduling, demographic reporting, and application resource configuration.","fork":false,"url":"https://api.github.com/repos/umts/jobapps","forks_url":"https://api.github.com/repos/umts/jobapps/forks","keys_url":"https://api.github.com/repos/umts/jobapps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umts/jobapps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umts/jobapps/teams","hooks_url":"https://api.github.com/repos/umts/jobapps/hooks","issue_events_url":"https://api.github.com/repos/umts/jobapps/issues/events{/number}","events_url":"https://api.github.com/repos/umts/jobapps/events","assignees_url":"https://api.github.com/repos/umts/jobapps/assignees{/user}","branches_url":"https://api.github.com/repos/umts/jobapps/branches{/branch}","tags_url":"https://api.github.com/repos/umts/jobapps/tags","blobs_url":"https://api.github.com/repos/umts/jobapps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umts/jobapps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umts/jobapps/git/refs{/sha}","trees_url":"https://api.github.com/repos/umts/jobapps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umts/jobapps/statuses/{sha}","languages_url":"https://api.github.com/repos/umts/jobapps/languages","stargazers_url":"https://api.github.com/repos/umts/jobapps/stargazers","contributors_url":"https://api.github.com/repos/umts/jobapps/contributors","subscribers_url":"https://api.github.com/repos/umts/jobapps/subscribers","subscription_url":"https://api.github.com/repos/umts/jobapps/subscription","commits_url":"https://api.github.com/repos/umts/jobapps/commits{/sha}","git_commits_url":"https://api.github.com/repos/umts/jobapps/git/commits{/sha}","comments_url":"https://api.github.com/repos/umts/jobapps/comments{/number}","issue_comment_url":"https://api.github.com/repos/umts/jobapps/issues/comments{/number}","contents_url":"https://api.github.com/repos/umts/jobapps/contents/{+path}","compare_url":"https://api.github.com/repos/umts/jobapps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umts/jobapps/merges","archive_url":"https://api.github.com/repos/umts/jobapps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umts/jobapps/downloads","issues_url":"https://api.github.com/repos/umts/jobapps/issues{/number}","pulls_url":"https://api.github.com/repos/umts/jobapps/pulls{/number}","milestones_url":"https://api.github.com/repos/umts/jobapps/milestones{/number}","notifications_url":"https://api.github.com/repos/umts/jobapps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umts/jobapps/labels{/name}","releases_url":"https://api.github.com/repos/umts/jobapps/releases{/id}","deployments_url":"https://api.github.com/repos/umts/jobapps/deployments","created_at":"2015-05-19T21:34:57Z","updated_at":"2016-07-05T16:12:35Z","pushed_at":"2016-07-19T20:09:47Z","git_url":"git://github.com/umts/jobapps.git","ssh_url":"git@github.com:umts/jobapps.git","clone_url":"https://github.com/umts/jobapps.git","svn_url":"https://github.com/umts/jobapps","homepage":"https://transit-jobapps.admin.umass.edu","size":1724,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":7,"forks":7,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/umts/jobapps/pulls/262"},"html":{"href":"https://github.com/umts/jobapps/pull/262"},"issue":{"href":"https://api.github.com/repos/umts/jobapps/issues/262"},"comments":{"href":"https://api.github.com/repos/umts/jobapps/issues/262/comments"},"review_comments":{"href":"https://api.github.com/repos/umts/jobapps/pulls/262/comments"},"review_comment":{"href":"https://api.github.com/repos/umts/jobapps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/umts/jobapps/pulls/262/commits"},"statuses":{"href":"https://api.github.com/repos/umts/jobapps/statuses/3b972b013815190e5d1a0932b7a7633fc7f04aaa"}}}}
{"actor":{"display_login":"dfaulken"}}