GitHub PullRequestReviewCommentEvent at 2014-07-23 07:04:44
Repository: WebsiteOne
Actor: sampritipanda
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/15273750","id":15273750,"diff_hunk":"@@ -1,57 +1,53 @@\n require 'spec_helper'\n \n-describe 'projects/show.html.erb' do\n+describe 'projects/show.html.erb', type: :view do\n   before :each do\n-    @user = FactoryGirl.build(:user)\n+    @user = FactoryGirl.build_stubbed(:user)\n \n-    @document = mock_model Document,\n+    @document = FactoryGirl.build_stubbed(:document,\n                            title: 'this is a document',\n-                           friendly_id: 'this-is-a-document',\n-                           created_at: 1.month.ago\n+                           created_at: 1.month.ago)\n \n-    @project = mock_model Project,\n+    @project = FactoryGirl.build_stubbed(:project,\n                           id: 1,\n-                          friendly_id: 'my-friend-project',\n                           title: 'Title 1',\n                           description: 'Description 1',\n                           status: 'Active',\n                           user_id: @user.id,\n                           created_at: Time.now,\n-                          pivotaltracker_id: 11111,\n-                          tag_list: []\n+                          tag_list: [])\n+\n+    allow(@project).to receive(:friendly_id).and_return('my-friend-project')\n+    allow(@project).to receive(:pivotaltracker_id).and_return('11111')","path":"spec/views/projects/show.html.erb_spec.rb","position":30,"original_position":30,"commit_id":"a32df4b2386c21e2701a7222194823be67b5ac40","original_commit_id":"a32df4b2386c21e2701a7222194823be67b5ac40","user":{"login":"sampritipanda","id":1736001,"avatar_url":"https://avatars.githubusercontent.com/u/1736001?","gravatar_id":"03d6176149e9fe81c83590dd4e7a5225","url":"https://api.github.com/users/sampritipanda","html_url":"https://github.com/sampritipanda","followers_url":"https://api.github.com/users/sampritipanda/followers","following_url":"https://api.github.com/users/sampritipanda/following{/other_user}","gists_url":"https://api.github.com/users/sampritipanda/gists{/gist_id}","starred_url":"https://api.github.com/users/sampritipanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampritipanda/subscriptions","organizations_url":"https://api.github.com/users/sampritipanda/orgs","repos_url":"https://api.github.com/users/sampritipanda/repos","events_url":"https://api.github.com/users/sampritipanda/events{/privacy}","received_events_url":"https://api.github.com/users/sampritipanda/received_events","type":"User","site_admin":false},"body":"This was part of my larger Refactoring PR.","created_at":"2014-07-23T07:04:44Z","updated_at":"2014-07-23T07:04:44Z","html_url":"https://github.com/AgileVentures/WebsiteOne/pull/476#discussion_r15273750","pull_request_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/476","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/15273750"},"html":{"href":"https://github.com/AgileVentures/WebsiteOne/pull/476#discussion_r15273750"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/476"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/476","id":18628775,"html_url":"https://github.com/AgileVentures/WebsiteOne/pull/476","diff_url":"https://github.com/AgileVentures/WebsiteOne/pull/476.diff","patch_url":"https://github.com/AgileVentures/WebsiteOne/pull/476.patch","issue_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/476","number":476,"state":"open","title":"Hangout on projects","user":{"login":"YaroSpace","id":5670940,"avatar_url":"https://avatars.githubusercontent.com/u/5670940?","gravatar_id":"70b1babe87aa249dc295cb16c2579733","url":"https://api.github.com/users/YaroSpace","html_url":"https://github.com/YaroSpace","followers_url":"https://api.github.com/users/YaroSpace/followers","following_url":"https://api.github.com/users/YaroSpace/following{/other_user}","gists_url":"https://api.github.com/users/YaroSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/YaroSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaroSpace/subscriptions","organizations_url":"https://api.github.com/users/YaroSpace/orgs","repos_url":"https://api.github.com/users/YaroSpace/repos","events_url":"https://api.github.com/users/YaroSpace/events{/privacy}","received_events_url":"https://api.github.com/users/YaroSpace/received_events","type":"User","site_admin":false},"body":"PT story https://www.pivotaltracker.com/story/show/74032336\r\n\r\nNo changes to UI.\r\n0. You can start hangout from a project's page on wso.  It will post a notification to slack.\r\n1. Event now has_many hangouts\r\n2. All hangouts are now persisted in db with a unique uid and do not get overwritten when restarting a hangout for a new occurrence of an event.\r\n3. Title, category and hangout_url are now updated when HangoutApplication reports back to wso.\r\n\r\nDemo at my [my instance](http://yaro.herokuapp.com)\r\n\r\np.s. the first 3 commits are extracted in PR 475.","created_at":"2014-07-20T11:05:35Z","updated_at":"2014-07-23T07:04:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de4934fd2e9bfc8e53512678ac6324ae3fb4aa38","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/476/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/476/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/476/comments","statuses_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/statuses/a32df4b2386c21e2701a7222194823be67b5ac40","head":{"label":"YaroSpace:hangout_on_projects","ref":"hangout_on_projects","sha":"a32df4b2386c21e2701a7222194823be67b5ac40","user":{"login":"YaroSpace","id":5670940,"avatar_url":"https://avatars.githubusercontent.com/u/5670940?","gravatar_id":"70b1babe87aa249dc295cb16c2579733","url":"https://api.github.com/users/YaroSpace","html_url":"https://github.com/YaroSpace","followers_url":"https://api.github.com/users/YaroSpace/followers","following_url":"https://api.github.com/users/YaroSpace/following{/other_user}","gists_url":"https://api.github.com/users/YaroSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/YaroSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaroSpace/subscriptions","organizations_url":"https://api.github.com/users/YaroSpace/orgs","repos_url":"https://api.github.com/users/YaroSpace/repos","events_url":"https://api.github.com/users/YaroSpace/events{/privacy}","received_events_url":"https://api.github.com/users/YaroSpace/received_events","type":"User","site_admin":false},"repo":{"id":15742675,"name":"WebsiteOne","full_name":"YaroSpace/WebsiteOne","owner":{"login":"YaroSpace","id":5670940,"avatar_url":"https://avatars.githubusercontent.com/u/5670940?","gravatar_id":"70b1babe87aa249dc295cb16c2579733","url":"https://api.github.com/users/YaroSpace","html_url":"https://github.com/YaroSpace","followers_url":"https://api.github.com/users/YaroSpace/followers","following_url":"https://api.github.com/users/YaroSpace/following{/other_user}","gists_url":"https://api.github.com/users/YaroSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/YaroSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaroSpace/subscriptions","organizations_url":"https://api.github.com/users/YaroSpace/orgs","repos_url":"https://api.github.com/users/YaroSpace/repos","events_url":"https://api.github.com/users/YaroSpace/events{/privacy}","received_events_url":"https://api.github.com/users/YaroSpace/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YaroSpace/WebsiteOne","description":"A website for Agile Ventures","fork":true,"url":"https://api.github.com/repos/YaroSpace/WebsiteOne","forks_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/forks","keys_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/teams","hooks_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/hooks","issue_events_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/issues/events{/number}","events_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/events","assignees_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/assignees{/user}","branches_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/branches{/branch}","tags_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/tags","blobs_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/statuses/{sha}","languages_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/languages","stargazers_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/stargazers","contributors_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/contributors","subscribers_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/subscribers","subscription_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/subscription","commits_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/issues/comments/{number}","contents_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/contents/{+path}","compare_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/merges","archive_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/downloads","issues_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/issues{/number}","pulls_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/pulls{/number}","milestones_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/milestones{/number}","notifications_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/labels{/name}","releases_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/releases{/id}","created_at":"2014-01-08T17:32:48Z","updated_at":"2014-06-25T07:39:31Z","pushed_at":"2014-07-22T20:30:58Z","git_url":"git://github.com/YaroSpace/WebsiteOne.git","ssh_url":"git@github.com:YaroSpace/WebsiteOne.git","clone_url":"https://github.com/YaroSpace/WebsiteOne.git","svn_url":"https://github.com/YaroSpace/WebsiteOne","homepage":null,"size":29712,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"9055dd2acf80c6e6a7811f5ae7bd6eef02e9ea81","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?","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?","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-07-20T10:35:25Z","pushed_at":"2014-07-21T22:56:03Z","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":39152,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":56,"mirror_url":null,"open_issues_count":16,"forks":56,"open_issues":16,"watchers":16,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/476"},"html":{"href":"https://github.com/AgileVentures/WebsiteOne/pull/476"},"issue":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/476"},"comments":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/476/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/476/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/476/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/statuses/a32df4b2386c21e2701a7222194823be67b5ac40"}}}}