GitHub PullRequestReviewCommentEvent at 2014-09-01 23:12:32
Repository: WebsiteOne
Actor: yggie
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/16965880","id":16965880,"diff_hunk":"@@ -0,0 +1,18 @@\n+require 'spec_helper'\n+\n+describe DashboardController, type: :controller do\n+\n+  describe \"GET index\" do\n+\n+    it \"renders the correct template\" do\n+      get :index\n+      expect(response).to render_template 'dashboard/index'\n+    end\n+\n+    it \"assigns stats variable\" do\n+      allow(controller).to receive(:get_stats).and_return('test')\n+      get :index\n+      expect(assigns(:stats)).to eq 'test'\n+    end","path":"spec/controllers/dashboard_controller_spec.rb","position":16,"original_position":16,"commit_id":"63f85663b32dac47dffe5903d5dc1de46ca20654","original_commit_id":"63f85663b32dac47dffe5903d5dc1de46ca20654","user":{"login":"yggie","id":2663402,"avatar_url":"https://avatars.githubusercontent.com/u/2663402?v=2","gravatar_id":"e9514be1f2c0b2817b530e0c2de6c4fa","url":"https://api.github.com/users/yggie","html_url":"https://github.com/yggie","followers_url":"https://api.github.com/users/yggie/followers","following_url":"https://api.github.com/users/yggie/following{/other_user}","gists_url":"https://api.github.com/users/yggie/gists{/gist_id}","starred_url":"https://api.github.com/users/yggie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yggie/subscriptions","organizations_url":"https://api.github.com/users/yggie/orgs","repos_url":"https://api.github.com/users/yggie/repos","events_url":"https://api.github.com/users/yggie/events{/privacy}","received_events_url":"https://api.github.com/users/yggie/received_events","type":"User","site_admin":false},"body":"no test for `get_stats`? :frowning: ","created_at":"2014-09-01T23:12:32Z","updated_at":"2014-09-01T23:12:32Z","html_url":"https://github.com/AgileVentures/WebsiteOne/pull/515#discussion_r16965880","pull_request_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/515","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/16965880"},"html":{"href":"https://github.com/AgileVentures/WebsiteOne/pull/515#discussion_r16965880"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/515"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/515","id":20501604,"html_url":"https://github.com/AgileVentures/WebsiteOne/pull/515","diff_url":"https://github.com/AgileVentures/WebsiteOne/pull/515.diff","patch_url":"https://github.com/AgileVentures/WebsiteOne/pull/515.patch","issue_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/515","number":515,"state":"open","locked":false,"title":"Dashboard stats","user":{"login":"christophermlne","id":1007981,"avatar_url":"https://avatars.githubusercontent.com/u/1007981?v=2","gravatar_id":"169c7d88a0aac66ba5e3a0cbb2278eea","url":"https://api.github.com/users/christophermlne","html_url":"https://github.com/christophermlne","followers_url":"https://api.github.com/users/christophermlne/followers","following_url":"https://api.github.com/users/christophermlne/following{/other_user}","gists_url":"https://api.github.com/users/christophermlne/gists{/gist_id}","starred_url":"https://api.github.com/users/christophermlne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophermlne/subscriptions","organizations_url":"https://api.github.com/users/christophermlne/orgs","repos_url":"https://api.github.com/users/christophermlne/repos","events_url":"https://api.github.com/users/christophermlne/events{/privacy}","received_events_url":"https://api.github.com/users/christophermlne/received_events","type":"User","site_admin":false},"body":"PT story: https://www.pivotaltracker.com/story/show/64726524\r\nScreenshot: \r\n![image](https://cloud.githubusercontent.com/assets/1007981/4091279/dcd318aa-2f86-11e4-9b60-8ed0f335440e.png)\r\n\r\n\r\nChanges:\r\n• dashboard controller\r\n• statistics concern\r\n• dashboard view\r\n• link at bottom of global footer","created_at":"2014-08-29T14:15:34Z","updated_at":"2014-09-01T23:12:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4828db563e15de79e060ceab07cccb512cdc752","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/515/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/515/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/515/comments","statuses_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/statuses/63f85663b32dac47dffe5903d5dc1de46ca20654","head":{"label":"christophermlne:dashboard-stats","ref":"dashboard-stats","sha":"63f85663b32dac47dffe5903d5dc1de46ca20654","user":{"login":"christophermlne","id":1007981,"avatar_url":"https://avatars.githubusercontent.com/u/1007981?v=2","gravatar_id":"169c7d88a0aac66ba5e3a0cbb2278eea","url":"https://api.github.com/users/christophermlne","html_url":"https://github.com/christophermlne","followers_url":"https://api.github.com/users/christophermlne/followers","following_url":"https://api.github.com/users/christophermlne/following{/other_user}","gists_url":"https://api.github.com/users/christophermlne/gists{/gist_id}","starred_url":"https://api.github.com/users/christophermlne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophermlne/subscriptions","organizations_url":"https://api.github.com/users/christophermlne/orgs","repos_url":"https://api.github.com/users/christophermlne/repos","events_url":"https://api.github.com/users/christophermlne/events{/privacy}","received_events_url":"https://api.github.com/users/christophermlne/received_events","type":"User","site_admin":false},"repo":{"id":21828896,"name":"WebsiteOne","full_name":"christophermlne/WebsiteOne","owner":{"login":"christophermlne","id":1007981,"avatar_url":"https://avatars.githubusercontent.com/u/1007981?v=2","gravatar_id":"169c7d88a0aac66ba5e3a0cbb2278eea","url":"https://api.github.com/users/christophermlne","html_url":"https://github.com/christophermlne","followers_url":"https://api.github.com/users/christophermlne/followers","following_url":"https://api.github.com/users/christophermlne/following{/other_user}","gists_url":"https://api.github.com/users/christophermlne/gists{/gist_id}","starred_url":"https://api.github.com/users/christophermlne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophermlne/subscriptions","organizations_url":"https://api.github.com/users/christophermlne/orgs","repos_url":"https://api.github.com/users/christophermlne/repos","events_url":"https://api.github.com/users/christophermlne/events{/privacy}","received_events_url":"https://api.github.com/users/christophermlne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christophermlne/WebsiteOne","description":"A website for Agile Ventures","fork":true,"url":"https://api.github.com/repos/christophermlne/WebsiteOne","forks_url":"https://api.github.com/repos/christophermlne/WebsiteOne/forks","keys_url":"https://api.github.com/repos/christophermlne/WebsiteOne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christophermlne/WebsiteOne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christophermlne/WebsiteOne/teams","hooks_url":"https://api.github.com/repos/christophermlne/WebsiteOne/hooks","issue_events_url":"https://api.github.com/repos/christophermlne/WebsiteOne/issues/events{/number}","events_url":"https://api.github.com/repos/christophermlne/WebsiteOne/events","assignees_url":"https://api.github.com/repos/christophermlne/WebsiteOne/assignees{/user}","branches_url":"https://api.github.com/repos/christophermlne/WebsiteOne/branches{/branch}","tags_url":"https://api.github.com/repos/christophermlne/WebsiteOne/tags","blobs_url":"https://api.github.com/repos/christophermlne/WebsiteOne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christophermlne/WebsiteOne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christophermlne/WebsiteOne/git/refs{/sha}","trees_url":"https://api.github.com/repos/christophermlne/WebsiteOne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christophermlne/WebsiteOne/statuses/{sha}","languages_url":"https://api.github.com/repos/christophermlne/WebsiteOne/languages","stargazers_url":"https://api.github.com/repos/christophermlne/WebsiteOne/stargazers","contributors_url":"https://api.github.com/repos/christophermlne/WebsiteOne/contributors","subscribers_url":"https://api.github.com/repos/christophermlne/WebsiteOne/subscribers","subscription_url":"https://api.github.com/repos/christophermlne/WebsiteOne/subscription","commits_url":"https://api.github.com/repos/christophermlne/WebsiteOne/commits{/sha}","git_commits_url":"https://api.github.com/repos/christophermlne/WebsiteOne/git/commits{/sha}","comments_url":"https://api.github.com/repos/christophermlne/WebsiteOne/comments{/number}","issue_comment_url":"https://api.github.com/repos/christophermlne/WebsiteOne/issues/comments/{number}","contents_url":"https://api.github.com/repos/christophermlne/WebsiteOne/contents/{+path}","compare_url":"https://api.github.com/repos/christophermlne/WebsiteOne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christophermlne/WebsiteOne/merges","archive_url":"https://api.github.com/repos/christophermlne/WebsiteOne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christophermlne/WebsiteOne/downloads","issues_url":"https://api.github.com/repos/christophermlne/WebsiteOne/issues{/number}","pulls_url":"https://api.github.com/repos/christophermlne/WebsiteOne/pulls{/number}","milestones_url":"https://api.github.com/repos/christophermlne/WebsiteOne/milestones{/number}","notifications_url":"https://api.github.com/repos/christophermlne/WebsiteOne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christophermlne/WebsiteOne/labels{/name}","releases_url":"https://api.github.com/repos/christophermlne/WebsiteOne/releases{/id}","created_at":"2014-07-14T17:37:31Z","updated_at":"2014-07-14T23:55:30Z","pushed_at":"2014-09-01T21:23:59Z","git_url":"git://github.com/christophermlne/WebsiteOne.git","ssh_url":"git@github.com:christophermlne/WebsiteOne.git","clone_url":"https://github.com/christophermlne/WebsiteOne.git","svn_url":"https://github.com/christophermlne/WebsiteOne","homepage":null,"size":26977,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"2df30a76742230bc8c0e105357baf1a0216113c9","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=2","gravatar_id":"cb33b32bd5d675db7be148542976e510","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":15742370,"name":"WebsiteOne","full_name":"AgileVentures/WebsiteOne","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=2","gravatar_id":"cb33b32bd5d675db7be148542976e510","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/WebsiteOne","description":"A website for Agile Ventures","fork":false,"url":"https://api.github.com/repos/AgileVentures/WebsiteOne","forks_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/forks","keys_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/teams","hooks_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/events","assignees_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/tags","blobs_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/subscription","commits_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/comments/{number}","contents_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/merges","archive_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/downloads","issues_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/releases{/id}","created_at":"2014-01-08T17:20:22Z","updated_at":"2014-08-28T18:14:23Z","pushed_at":"2014-09-01T22:03:18Z","git_url":"git://github.com/AgileVentures/WebsiteOne.git","ssh_url":"git@github.com:AgileVentures/WebsiteOne.git","clone_url":"https://github.com/AgileVentures/WebsiteOne.git","svn_url":"https://github.com/AgileVentures/WebsiteOne","homepage":null,"size":40074,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":62,"mirror_url":null,"open_issues_count":7,"forks":62,"open_issues":7,"watchers":16,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/515"},"html":{"href":"https://github.com/AgileVentures/WebsiteOne/pull/515"},"issue":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/515"},"comments":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/515/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/515/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/515/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/statuses/63f85663b32dac47dffe5903d5dc1de46ca20654"}}}}