GitHub PullRequestReviewCommentEvent at 2014-10-25 14:35:47
Repository: osra
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/motasem-salem/osra/pulls/comments/19375754","id":19375754,"diff_hunk":"@@ -0,0 +1,31 @@\n+require 'rails_helper'\n+include Devise::TestHelpers\n+\n+describe Admin::PendingOrphanListsController, type: :controller do\n+  let(:pending_orphan_list) { instance_double PendingOrphanList, destroy!: true }\n+\n+  before(:each) do\n+    sign_in instance_double(AdminUser)\n+\n+    allow(PendingOrphanList).to receive(:find).and_return pending_orphan_list\n+    delete :destroy, id: 1, partner_id: 1\n+  end\n+\n+  describe 'destroy' do\n+    it 'finds the pending orphan list' do\n+      expect(PendingOrphanList).to have_received(:find).with('1')","path":"spec/controllers/admin/pending_orphan_lists_controller_spec.rb","position":16,"original_position":16,"commit_id":"a0bf2f9e896f106f2437fb2ad63b7844d5f3f41d","original_commit_id":"a0bf2f9e896f106f2437fb2ad63b7844d5f3f41d","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=2","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2014-10-25T14:35:47Z","updated_at":"2014-10-25T14:35:47Z","html_url":"https://github.com/motasem-salem/osra/pull/7#discussion_r19375754","pull_request_url":"https://api.github.com/repos/motasem-salem/osra/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/motasem-salem/osra/pulls/comments/19375754"},"html":{"href":"https://github.com/motasem-salem/osra/pull/7#discussion_r19375754"},"pull_request":{"href":"https://api.github.com/repos/motasem-salem/osra/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/motasem-salem/osra/pulls/7","id":23339721,"html_url":"https://github.com/motasem-salem/osra/pull/7","diff_url":"https://github.com/motasem-salem/osra/pull/7.diff","patch_url":"https://github.com/motasem-salem/osra/pull/7.patch","issue_url":"https://api.github.com/repos/motasem-salem/osra/issues/7","number":7,"state":"open","locked":false,"title":"Specs for pending_orphans_lists_controller","user":{"login":"NikitaAvvakumov","id":5029403,"avatar_url":"https://avatars.githubusercontent.com/u/5029403?v=2","gravatar_id":"","url":"https://api.github.com/users/NikitaAvvakumov","html_url":"https://github.com/NikitaAvvakumov","followers_url":"https://api.github.com/users/NikitaAvvakumov/followers","following_url":"https://api.github.com/users/NikitaAvvakumov/following{/other_user}","gists_url":"https://api.github.com/users/NikitaAvvakumov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaAvvakumov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaAvvakumov/subscriptions","organizations_url":"https://api.github.com/users/NikitaAvvakumov/orgs","repos_url":"https://api.github.com/users/NikitaAvvakumov/repos","events_url":"https://api.github.com/users/NikitaAvvakumov/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaAvvakumov/received_events","type":"User","site_admin":false},"body":"The missing controller specs","created_at":"2014-10-25T14:35:44Z","updated_at":"2014-10-25T14:35:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7f690b630bbed4c07d83fae1bea78a928e19a2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/motasem-salem/osra/pulls/7/commits","review_comments_url":"https://api.github.com/repos/motasem-salem/osra/pulls/7/comments","review_comment_url":"https://api.github.com/repos/motasem-salem/osra/pulls/comments/{number}","comments_url":"https://api.github.com/repos/motasem-salem/osra/issues/7/comments","statuses_url":"https://api.github.com/repos/motasem-salem/osra/statuses/a0bf2f9e896f106f2437fb2ad63b7844d5f3f41d","head":{"label":"NikitaAvvakumov:import_workflow","ref":"import_workflow","sha":"a0bf2f9e896f106f2437fb2ad63b7844d5f3f41d","user":{"login":"NikitaAvvakumov","id":5029403,"avatar_url":"https://avatars.githubusercontent.com/u/5029403?v=2","gravatar_id":"","url":"https://api.github.com/users/NikitaAvvakumov","html_url":"https://github.com/NikitaAvvakumov","followers_url":"https://api.github.com/users/NikitaAvvakumov/followers","following_url":"https://api.github.com/users/NikitaAvvakumov/following{/other_user}","gists_url":"https://api.github.com/users/NikitaAvvakumov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaAvvakumov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaAvvakumov/subscriptions","organizations_url":"https://api.github.com/users/NikitaAvvakumov/orgs","repos_url":"https://api.github.com/users/NikitaAvvakumov/repos","events_url":"https://api.github.com/users/NikitaAvvakumov/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaAvvakumov/received_events","type":"User","site_admin":false},"repo":{"id":23108770,"name":"osra","full_name":"NikitaAvvakumov/osra","owner":{"login":"NikitaAvvakumov","id":5029403,"avatar_url":"https://avatars.githubusercontent.com/u/5029403?v=2","gravatar_id":"","url":"https://api.github.com/users/NikitaAvvakumov","html_url":"https://github.com/NikitaAvvakumov","followers_url":"https://api.github.com/users/NikitaAvvakumov/followers","following_url":"https://api.github.com/users/NikitaAvvakumov/following{/other_user}","gists_url":"https://api.github.com/users/NikitaAvvakumov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaAvvakumov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaAvvakumov/subscriptions","organizations_url":"https://api.github.com/users/NikitaAvvakumov/orgs","repos_url":"https://api.github.com/users/NikitaAvvakumov/repos","events_url":"https://api.github.com/users/NikitaAvvakumov/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaAvvakumov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NikitaAvvakumov/osra","description":"Sponsor orphans in Syria & insure basic life & education requirements for Syrian children","fork":true,"url":"https://api.github.com/repos/NikitaAvvakumov/osra","forks_url":"https://api.github.com/repos/NikitaAvvakumov/osra/forks","keys_url":"https://api.github.com/repos/NikitaAvvakumov/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NikitaAvvakumov/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NikitaAvvakumov/osra/teams","hooks_url":"https://api.github.com/repos/NikitaAvvakumov/osra/hooks","issue_events_url":"https://api.github.com/repos/NikitaAvvakumov/osra/issues/events{/number}","events_url":"https://api.github.com/repos/NikitaAvvakumov/osra/events","assignees_url":"https://api.github.com/repos/NikitaAvvakumov/osra/assignees{/user}","branches_url":"https://api.github.com/repos/NikitaAvvakumov/osra/branches{/branch}","tags_url":"https://api.github.com/repos/NikitaAvvakumov/osra/tags","blobs_url":"https://api.github.com/repos/NikitaAvvakumov/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NikitaAvvakumov/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NikitaAvvakumov/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/NikitaAvvakumov/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NikitaAvvakumov/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/NikitaAvvakumov/osra/languages","stargazers_url":"https://api.github.com/repos/NikitaAvvakumov/osra/stargazers","contributors_url":"https://api.github.com/repos/NikitaAvvakumov/osra/contributors","subscribers_url":"https://api.github.com/repos/NikitaAvvakumov/osra/subscribers","subscription_url":"https://api.github.com/repos/NikitaAvvakumov/osra/subscription","commits_url":"https://api.github.com/repos/NikitaAvvakumov/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/NikitaAvvakumov/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/NikitaAvvakumov/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/NikitaAvvakumov/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/NikitaAvvakumov/osra/contents/{+path}","compare_url":"https://api.github.com/repos/NikitaAvvakumov/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NikitaAvvakumov/osra/merges","archive_url":"https://api.github.com/repos/NikitaAvvakumov/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NikitaAvvakumov/osra/downloads","issues_url":"https://api.github.com/repos/NikitaAvvakumov/osra/issues{/number}","pulls_url":"https://api.github.com/repos/NikitaAvvakumov/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/NikitaAvvakumov/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/NikitaAvvakumov/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NikitaAvvakumov/osra/labels{/name}","releases_url":"https://api.github.com/repos/NikitaAvvakumov/osra/releases{/id}","created_at":"2014-08-19T12:13:45Z","updated_at":"2014-08-22T19:03:39Z","pushed_at":"2014-10-25T14:32:41Z","git_url":"git://github.com/NikitaAvvakumov/osra.git","ssh_url":"git@github.com:NikitaAvvakumov/osra.git","clone_url":"https://github.com/NikitaAvvakumov/osra.git","svn_url":"https://github.com/NikitaAvvakumov/osra","homepage":null,"size":1990,"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":"develop"}},"base":{"label":"motasem-salem:import_workflow","ref":"import_workflow","sha":"ffb358bf2244cd0841c15c3714c8f2b856fd4588","user":{"login":"motasem-salem","id":6000135,"avatar_url":"https://avatars.githubusercontent.com/u/6000135?v=2","gravatar_id":"","url":"https://api.github.com/users/motasem-salem","html_url":"https://github.com/motasem-salem","followers_url":"https://api.github.com/users/motasem-salem/followers","following_url":"https://api.github.com/users/motasem-salem/following{/other_user}","gists_url":"https://api.github.com/users/motasem-salem/gists{/gist_id}","starred_url":"https://api.github.com/users/motasem-salem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motasem-salem/subscriptions","organizations_url":"https://api.github.com/users/motasem-salem/orgs","repos_url":"https://api.github.com/users/motasem-salem/repos","events_url":"https://api.github.com/users/motasem-salem/events{/privacy}","received_events_url":"https://api.github.com/users/motasem-salem/received_events","type":"User","site_admin":false},"repo":{"id":18947420,"name":"osra","full_name":"motasem-salem/osra","owner":{"login":"motasem-salem","id":6000135,"avatar_url":"https://avatars.githubusercontent.com/u/6000135?v=2","gravatar_id":"","url":"https://api.github.com/users/motasem-salem","html_url":"https://github.com/motasem-salem","followers_url":"https://api.github.com/users/motasem-salem/followers","following_url":"https://api.github.com/users/motasem-salem/following{/other_user}","gists_url":"https://api.github.com/users/motasem-salem/gists{/gist_id}","starred_url":"https://api.github.com/users/motasem-salem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motasem-salem/subscriptions","organizations_url":"https://api.github.com/users/motasem-salem/orgs","repos_url":"https://api.github.com/users/motasem-salem/repos","events_url":"https://api.github.com/users/motasem-salem/events{/privacy}","received_events_url":"https://api.github.com/users/motasem-salem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/motasem-salem/osra","description":"Sponsor orphans in Syria & insure basic life & education requirements for Syrian children","fork":true,"url":"https://api.github.com/repos/motasem-salem/osra","forks_url":"https://api.github.com/repos/motasem-salem/osra/forks","keys_url":"https://api.github.com/repos/motasem-salem/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motasem-salem/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motasem-salem/osra/teams","hooks_url":"https://api.github.com/repos/motasem-salem/osra/hooks","issue_events_url":"https://api.github.com/repos/motasem-salem/osra/issues/events{/number}","events_url":"https://api.github.com/repos/motasem-salem/osra/events","assignees_url":"https://api.github.com/repos/motasem-salem/osra/assignees{/user}","branches_url":"https://api.github.com/repos/motasem-salem/osra/branches{/branch}","tags_url":"https://api.github.com/repos/motasem-salem/osra/tags","blobs_url":"https://api.github.com/repos/motasem-salem/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motasem-salem/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motasem-salem/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/motasem-salem/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motasem-salem/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/motasem-salem/osra/languages","stargazers_url":"https://api.github.com/repos/motasem-salem/osra/stargazers","contributors_url":"https://api.github.com/repos/motasem-salem/osra/contributors","subscribers_url":"https://api.github.com/repos/motasem-salem/osra/subscribers","subscription_url":"https://api.github.com/repos/motasem-salem/osra/subscription","commits_url":"https://api.github.com/repos/motasem-salem/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/motasem-salem/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/motasem-salem/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/motasem-salem/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/motasem-salem/osra/contents/{+path}","compare_url":"https://api.github.com/repos/motasem-salem/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motasem-salem/osra/merges","archive_url":"https://api.github.com/repos/motasem-salem/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motasem-salem/osra/downloads","issues_url":"https://api.github.com/repos/motasem-salem/osra/issues{/number}","pulls_url":"https://api.github.com/repos/motasem-salem/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/motasem-salem/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/motasem-salem/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motasem-salem/osra/labels{/name}","releases_url":"https://api.github.com/repos/motasem-salem/osra/releases{/id}","created_at":"2014-04-19T18:05:24Z","updated_at":"2014-09-08T04:28:58Z","pushed_at":"2014-10-25T04:21:30Z","git_url":"git://github.com/motasem-salem/osra.git","ssh_url":"git@github.com:motasem-salem/osra.git","clone_url":"https://github.com/motasem-salem/osra.git","svn_url":"https://github.com/motasem-salem/osra","homepage":null,"size":2179,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/motasem-salem/osra/pulls/7"},"html":{"href":"https://github.com/motasem-salem/osra/pull/7"},"issue":{"href":"https://api.github.com/repos/motasem-salem/osra/issues/7"},"comments":{"href":"https://api.github.com/repos/motasem-salem/osra/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/motasem-salem/osra/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/motasem-salem/osra/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/motasem-salem/osra/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/motasem-salem/osra/statuses/a0bf2f9e896f106f2437fb2ad63b7844d5f3f41d"}}}}