{"action":"created","comment":{"url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/comments/39371699","id":39371699,"diff_hunk":"@@ -1,7 +1,58 @@\n require 'spec_helper'\n \n-describe 'routes for dashboard', type: :routing do\n-  it 'routes /dashboard to the dashboard controller' do\n-    expect(get('/supervisor/dashboard')).to route_to('supervisor/dashboard#index')\n+describe Supervisor::DashboardController do\n+  render_views\n+  describe 'routes for dashboard', type: :routing do\n+    it 'routes /dashboard to the dashboard controller' do\n+      expect(get('/supervisor/dashboard')).to route_to('supervisor/dashboard#index')\n+    end\n+    it 'routes /supervisor to the dashboard controller' do\n+      expect(get('/supervisor')).to route_to('supervisor/dashboard#index')\n+    end\n   end\n-end\n\\ No newline at end of file\n+end\n+#","path":"spec/controllers/supervisor/dashboard_controller_spec.rb","position":19,"original_position":19,"commit_id":"f9f453eacdb7fa57b4c42db688b448c029eaf483","original_commit_id":"f9f453eacdb7fa57b4c42db688b448c029eaf483","user":{"login":"carpodaster","id":164400,"avatar_url":"https://avatars.githubusercontent.com/u/164400?v=3","gravatar_id":"","url":"https://api.github.com/users/carpodaster","html_url":"https://github.com/carpodaster","followers_url":"https://api.github.com/users/carpodaster/followers","following_url":"https://api.github.com/users/carpodaster/following{/other_user}","gists_url":"https://api.github.com/users/carpodaster/gists{/gist_id}","starred_url":"https://api.github.com/users/carpodaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carpodaster/subscriptions","organizations_url":"https://api.github.com/users/carpodaster/orgs","repos_url":"https://api.github.com/users/carpodaster/repos","events_url":"https://api.github.com/users/carpodaster/events{/privacy}","received_events_url":"https://api.github.com/users/carpodaster/received_events","type":"User","site_admin":false},"body":"Lots of commented test code = no good ","created_at":"2015-09-14T08:46:25Z","updated_at":"2015-09-14T08:46:25Z","html_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/311#discussion_r39371699","pull_request_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/311","_links":{"self":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/comments/39371699"},"html":{"href":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/311#discussion_r39371699"},"pull_request":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/311"}}},"pull_request":{"url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/311","id":44858685,"html_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/311","diff_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/311.diff","patch_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/311.patch","issue_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/311","number":311,"state":"open","locked":false,"title":"Supervisor Dashboard part 2: comments","user":{"login":"F3PiX","id":6314687,"avatar_url":"https://avatars.githubusercontent.com/u/6314687?v=3","gravatar_id":"","url":"https://api.github.com/users/F3PiX","html_url":"https://github.com/F3PiX","followers_url":"https://api.github.com/users/F3PiX/followers","following_url":"https://api.github.com/users/F3PiX/following{/other_user}","gists_url":"https://api.github.com/users/F3PiX/gists{/gist_id}","starred_url":"https://api.github.com/users/F3PiX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/F3PiX/subscriptions","organizations_url":"https://api.github.com/users/F3PiX/orgs","repos_url":"https://api.github.com/users/F3PiX/repos","events_url":"https://api.github.com/users/F3PiX/events{/privacy}","received_events_url":"https://api.github.com/users/F3PiX/received_events","type":"User","site_admin":false},"body":"This branch adds the comments/check on team -functionalities to Dashboard.\r\n@marcgreenstock @carpodaster Could you please doublecheck if we didn't remove too much stuff from the orga-namespace? \r\n\r\nOngoing problems we are still working on:\r\n- [ ] BaseController and/or DashboardController: tests for supervisor-only-access [WIP - sorry for the comments]\r\n- [ ] Implement cancancan in BaseController\r\n","created_at":"2015-09-12T18:38:16Z","updated_at":"2015-09-14T08:46:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ad5c50347e618c247740477b30d89b023a32e76","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/311/commits","review_comments_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/311/comments","review_comment_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/311/comments","statuses_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/statuses/f9f453eacdb7fa57b4c42db688b448c029eaf483","head":{"label":"TeamCheesy:SupervisorComments","ref":"SupervisorComments","sha":"f9f453eacdb7fa57b4c42db688b448c029eaf483","user":{"login":"TeamCheesy","id":12716832,"avatar_url":"https://avatars.githubusercontent.com/u/12716832?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamCheesy","html_url":"https://github.com/TeamCheesy","followers_url":"https://api.github.com/users/TeamCheesy/followers","following_url":"https://api.github.com/users/TeamCheesy/following{/other_user}","gists_url":"https://api.github.com/users/TeamCheesy/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamCheesy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamCheesy/subscriptions","organizations_url":"https://api.github.com/users/TeamCheesy/orgs","repos_url":"https://api.github.com/users/TeamCheesy/repos","events_url":"https://api.github.com/users/TeamCheesy/events{/privacy}","received_events_url":"https://api.github.com/users/TeamCheesy/received_events","type":"Organization","site_admin":false},"repo":{"id":38422803,"name":"rgsoc-teams","full_name":"TeamCheesy/rgsoc-teams","owner":{"login":"TeamCheesy","id":12716832,"avatar_url":"https://avatars.githubusercontent.com/u/12716832?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamCheesy","html_url":"https://github.com/TeamCheesy","followers_url":"https://api.github.com/users/TeamCheesy/followers","following_url":"https://api.github.com/users/TeamCheesy/following{/other_user}","gists_url":"https://api.github.com/users/TeamCheesy/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamCheesy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamCheesy/subscriptions","organizations_url":"https://api.github.com/users/TeamCheesy/orgs","repos_url":"https://api.github.com/users/TeamCheesy/repos","events_url":"https://api.github.com/users/TeamCheesy/events{/privacy}","received_events_url":"https://api.github.com/users/TeamCheesy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TeamCheesy/rgsoc-teams","description":"Teams management and activity ","fork":true,"url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams","forks_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/forks","keys_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/teams","hooks_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/hooks","issue_events_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/issues/events{/number}","events_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/events","assignees_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/assignees{/user}","branches_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/branches{/branch}","tags_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/tags","blobs_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/statuses/{sha}","languages_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/languages","stargazers_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/stargazers","contributors_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/contributors","subscribers_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/subscribers","subscription_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/subscription","commits_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/contents/{+path}","compare_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/merges","archive_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/downloads","issues_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/issues{/number}","pulls_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/pulls{/number}","milestones_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/milestones{/number}","notifications_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/labels{/name}","releases_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/releases{/id}","created_at":"2015-07-02T09:11:44Z","updated_at":"2015-09-10T11:44:44Z","pushed_at":"2015-09-12T16:25:53Z","git_url":"git://github.com/TeamCheesy/rgsoc-teams.git","ssh_url":"git@github.com:TeamCheesy/rgsoc-teams.git","clone_url":"https://github.com/TeamCheesy/rgsoc-teams.git","svn_url":"https://github.com/TeamCheesy/rgsoc-teams","homepage":null,"size":2817,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":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":"rails-girls-summer-of-code:master","ref":"master","sha":"4d433d07d8600faeae131a2980d568899a1bf82b","user":{"login":"rails-girls-summer-of-code","id":4704447,"avatar_url":"https://avatars.githubusercontent.com/u/4704447?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-girls-summer-of-code","html_url":"https://github.com/rails-girls-summer-of-code","followers_url":"https://api.github.com/users/rails-girls-summer-of-code/followers","following_url":"https://api.github.com/users/rails-girls-summer-of-code/following{/other_user}","gists_url":"https://api.github.com/users/rails-girls-summer-of-code/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-girls-summer-of-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-girls-summer-of-code/subscriptions","organizations_url":"https://api.github.com/users/rails-girls-summer-of-code/orgs","repos_url":"https://api.github.com/users/rails-girls-summer-of-code/repos","events_url":"https://api.github.com/users/rails-girls-summer-of-code/events{/privacy}","received_events_url":"https://api.github.com/users/rails-girls-summer-of-code/received_events","type":"Organization","site_admin":false},"repo":{"id":10705327,"name":"rgsoc-teams","full_name":"rails-girls-summer-of-code/rgsoc-teams","owner":{"login":"rails-girls-summer-of-code","id":4704447,"avatar_url":"https://avatars.githubusercontent.com/u/4704447?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-girls-summer-of-code","html_url":"https://github.com/rails-girls-summer-of-code","followers_url":"https://api.github.com/users/rails-girls-summer-of-code/followers","following_url":"https://api.github.com/users/rails-girls-summer-of-code/following{/other_user}","gists_url":"https://api.github.com/users/rails-girls-summer-of-code/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-girls-summer-of-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-girls-summer-of-code/subscriptions","organizations_url":"https://api.github.com/users/rails-girls-summer-of-code/orgs","repos_url":"https://api.github.com/users/rails-girls-summer-of-code/repos","events_url":"https://api.github.com/users/rails-girls-summer-of-code/events{/privacy}","received_events_url":"https://api.github.com/users/rails-girls-summer-of-code/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams","description":"Teams management and activity ","fork":false,"url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams","forks_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/forks","keys_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/teams","hooks_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/hooks","issue_events_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/events{/number}","events_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/events","assignees_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/assignees{/user}","branches_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/branches{/branch}","tags_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/tags","blobs_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/statuses/{sha}","languages_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/languages","stargazers_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/stargazers","contributors_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/contributors","subscribers_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/subscribers","subscription_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/subscription","commits_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/contents/{+path}","compare_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/merges","archive_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/downloads","issues_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues{/number}","pulls_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls{/number}","milestones_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/milestones{/number}","notifications_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/labels{/name}","releases_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/releases{/id}","created_at":"2013-06-15T11:13:22Z","updated_at":"2015-07-10T17:10:39Z","pushed_at":"2015-09-14T08:25:53Z","git_url":"git://github.com/rails-girls-summer-of-code/rgsoc-teams.git","ssh_url":"git@github.com:rails-girls-summer-of-code/rgsoc-teams.git","clone_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams.git","svn_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams","homepage":null,"size":4388,"stargazers_count":19,"watchers_count":19,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":48,"forks":26,"open_issues":48,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/311"},"html":{"href":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/311"},"issue":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/311"},"comments":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/311/comments"},"review_comments":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/311/comments"},"review_comment":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/311/commits"},"statuses":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/statuses/f9f453eacdb7fa57b4c42db688b448c029eaf483"}}}}