{"action":"created","comment":{"url":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/comments/100079762","pull_request_review_id":20772984,"id":100079762,"diff_hunk":"@@ -75,6 +75,20 @@\n       expect(reply).to eq(\"iamvery should be on it...\")\n     end\n \n+    it \"posts custom comments on github if specified\" do\n+      custom_msg = \":tada: @iamvery this awesome\"\n+      subject.config.github_comment_template = custom_msg\n+\n+      expect_any_instance_of(Octokit::Client).to receive(:add_comment)\n+        .with(repo, id, custom_msg)\n+\n+      send_command(\"add iamvery to reviews\")\n+      send_command(\"review https://github.com/#{repo}/pull/#{id}\")\n+\n+      expect(reply).to eq(\"iamvery should be on it...\")\n+      subject.config.github_comment_template = nil # teardown\n+    end","path":"spec/lita/handlers/reviewme_spec.rb","position":16,"original_position":16,"commit_id":"96cad9c9e469184c8c6bbb5317cfd9152ddccbfd","original_commit_id":"96cad9c9e469184c8c6bbb5317cfd9152ddccbfd","user":{"login":"iamvery","id":79619,"avatar_url":"https://avatars.githubusercontent.com/u/79619?v=3","gravatar_id":"","url":"https://api.github.com/users/iamvery","html_url":"https://github.com/iamvery","followers_url":"https://api.github.com/users/iamvery/followers","following_url":"https://api.github.com/users/iamvery/following{/other_user}","gists_url":"https://api.github.com/users/iamvery/gists{/gist_id}","starred_url":"https://api.github.com/users/iamvery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamvery/subscriptions","organizations_url":"https://api.github.com/users/iamvery/orgs","repos_url":"https://api.github.com/users/iamvery/repos","events_url":"https://api.github.com/users/iamvery/events{/privacy}","received_events_url":"https://api.github.com/users/iamvery/received_events","type":"User","site_admin":false},"body":"❤️  TEST 😍 ","created_at":"2017-02-08T14:43:05Z","updated_at":"2017-02-08T14:43:09Z","html_url":"https://github.com/iamvery/lita-reviewme/pull/50#discussion_r100079762","pull_request_url":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/comments/100079762"},"html":{"href":"https://github.com/iamvery/lita-reviewme/pull/50#discussion_r100079762"},"pull_request":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/50","id":105098960,"html_url":"https://github.com/iamvery/lita-reviewme/pull/50","diff_url":"https://github.com/iamvery/lita-reviewme/pull/50.diff","patch_url":"https://github.com/iamvery/lita-reviewme/pull/50.patch","issue_url":"https://api.github.com/repos/iamvery/lita-reviewme/issues/50","number":50,"state":"open","locked":false,"title":"Allow custom GitHub messages","user":{"login":"binarymason","id":12122953,"avatar_url":"https://avatars.githubusercontent.com/u/12122953?v=3","gravatar_id":"","url":"https://api.github.com/users/binarymason","html_url":"https://github.com/binarymason","followers_url":"https://api.github.com/users/binarymason/followers","following_url":"https://api.github.com/users/binarymason/following{/other_user}","gists_url":"https://api.github.com/users/binarymason/gists{/gist_id}","starred_url":"https://api.github.com/users/binarymason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarymason/subscriptions","organizations_url":"https://api.github.com/users/binarymason/orgs","repos_url":"https://api.github.com/users/binarymason/repos","events_url":"https://api.github.com/users/binarymason/events{/privacy}","received_events_url":"https://api.github.com/users/binarymason/received_events","type":"User","site_admin":false},"body":"This fixes #49.\r\n\r\nHappy to hear and open to any feedback!","created_at":"2017-02-07T21:35:44Z","updated_at":"2017-02-08T14:43:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9f87a5f282c28a16fbb7f510cfdbb0bb890a526","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/50/commits","review_comments_url":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/50/comments","review_comment_url":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iamvery/lita-reviewme/issues/50/comments","statuses_url":"https://api.github.com/repos/iamvery/lita-reviewme/statuses/96cad9c9e469184c8c6bbb5317cfd9152ddccbfd","head":{"label":"binarymason:master","ref":"master","sha":"96cad9c9e469184c8c6bbb5317cfd9152ddccbfd","user":{"login":"binarymason","id":12122953,"avatar_url":"https://avatars.githubusercontent.com/u/12122953?v=3","gravatar_id":"","url":"https://api.github.com/users/binarymason","html_url":"https://github.com/binarymason","followers_url":"https://api.github.com/users/binarymason/followers","following_url":"https://api.github.com/users/binarymason/following{/other_user}","gists_url":"https://api.github.com/users/binarymason/gists{/gist_id}","starred_url":"https://api.github.com/users/binarymason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarymason/subscriptions","organizations_url":"https://api.github.com/users/binarymason/orgs","repos_url":"https://api.github.com/users/binarymason/repos","events_url":"https://api.github.com/users/binarymason/events{/privacy}","received_events_url":"https://api.github.com/users/binarymason/received_events","type":"User","site_admin":false},"repo":{"id":81253503,"name":"lita-reviewme","full_name":"binarymason/lita-reviewme","owner":{"login":"binarymason","id":12122953,"avatar_url":"https://avatars.githubusercontent.com/u/12122953?v=3","gravatar_id":"","url":"https://api.github.com/users/binarymason","html_url":"https://github.com/binarymason","followers_url":"https://api.github.com/users/binarymason/followers","following_url":"https://api.github.com/users/binarymason/following{/other_user}","gists_url":"https://api.github.com/users/binarymason/gists{/gist_id}","starred_url":"https://api.github.com/users/binarymason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarymason/subscriptions","organizations_url":"https://api.github.com/users/binarymason/orgs","repos_url":"https://api.github.com/users/binarymason/repos","events_url":"https://api.github.com/users/binarymason/events{/privacy}","received_events_url":"https://api.github.com/users/binarymason/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/binarymason/lita-reviewme","description":null,"fork":true,"url":"https://api.github.com/repos/binarymason/lita-reviewme","forks_url":"https://api.github.com/repos/binarymason/lita-reviewme/forks","keys_url":"https://api.github.com/repos/binarymason/lita-reviewme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/binarymason/lita-reviewme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/binarymason/lita-reviewme/teams","hooks_url":"https://api.github.com/repos/binarymason/lita-reviewme/hooks","issue_events_url":"https://api.github.com/repos/binarymason/lita-reviewme/issues/events{/number}","events_url":"https://api.github.com/repos/binarymason/lita-reviewme/events","assignees_url":"https://api.github.com/repos/binarymason/lita-reviewme/assignees{/user}","branches_url":"https://api.github.com/repos/binarymason/lita-reviewme/branches{/branch}","tags_url":"https://api.github.com/repos/binarymason/lita-reviewme/tags","blobs_url":"https://api.github.com/repos/binarymason/lita-reviewme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/binarymason/lita-reviewme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/binarymason/lita-reviewme/git/refs{/sha}","trees_url":"https://api.github.com/repos/binarymason/lita-reviewme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/binarymason/lita-reviewme/statuses/{sha}","languages_url":"https://api.github.com/repos/binarymason/lita-reviewme/languages","stargazers_url":"https://api.github.com/repos/binarymason/lita-reviewme/stargazers","contributors_url":"https://api.github.com/repos/binarymason/lita-reviewme/contributors","subscribers_url":"https://api.github.com/repos/binarymason/lita-reviewme/subscribers","subscription_url":"https://api.github.com/repos/binarymason/lita-reviewme/subscription","commits_url":"https://api.github.com/repos/binarymason/lita-reviewme/commits{/sha}","git_commits_url":"https://api.github.com/repos/binarymason/lita-reviewme/git/commits{/sha}","comments_url":"https://api.github.com/repos/binarymason/lita-reviewme/comments{/number}","issue_comment_url":"https://api.github.com/repos/binarymason/lita-reviewme/issues/comments{/number}","contents_url":"https://api.github.com/repos/binarymason/lita-reviewme/contents/{+path}","compare_url":"https://api.github.com/repos/binarymason/lita-reviewme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/binarymason/lita-reviewme/merges","archive_url":"https://api.github.com/repos/binarymason/lita-reviewme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/binarymason/lita-reviewme/downloads","issues_url":"https://api.github.com/repos/binarymason/lita-reviewme/issues{/number}","pulls_url":"https://api.github.com/repos/binarymason/lita-reviewme/pulls{/number}","milestones_url":"https://api.github.com/repos/binarymason/lita-reviewme/milestones{/number}","notifications_url":"https://api.github.com/repos/binarymason/lita-reviewme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/binarymason/lita-reviewme/labels{/name}","releases_url":"https://api.github.com/repos/binarymason/lita-reviewme/releases{/id}","deployments_url":"https://api.github.com/repos/binarymason/lita-reviewme/deployments","created_at":"2017-02-07T20:58:09Z","updated_at":"2017-02-07T20:58:10Z","pushed_at":"2017-02-07T22:05:07Z","git_url":"git://github.com/binarymason/lita-reviewme.git","ssh_url":"git@github.com:binarymason/lita-reviewme.git","clone_url":"https://github.com/binarymason/lita-reviewme.git","svn_url":"https://github.com/binarymason/lita-reviewme","homepage":null,"size":57,"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":"iamvery:master","ref":"master","sha":"2831a8984549c9a04fffd770a690a938e724b5d0","user":{"login":"iamvery","id":79619,"avatar_url":"https://avatars.githubusercontent.com/u/79619?v=3","gravatar_id":"","url":"https://api.github.com/users/iamvery","html_url":"https://github.com/iamvery","followers_url":"https://api.github.com/users/iamvery/followers","following_url":"https://api.github.com/users/iamvery/following{/other_user}","gists_url":"https://api.github.com/users/iamvery/gists{/gist_id}","starred_url":"https://api.github.com/users/iamvery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamvery/subscriptions","organizations_url":"https://api.github.com/users/iamvery/orgs","repos_url":"https://api.github.com/users/iamvery/repos","events_url":"https://api.github.com/users/iamvery/events{/privacy}","received_events_url":"https://api.github.com/users/iamvery/received_events","type":"User","site_admin":false},"repo":{"id":30335089,"name":"lita-reviewme","full_name":"iamvery/lita-reviewme","owner":{"login":"iamvery","id":79619,"avatar_url":"https://avatars.githubusercontent.com/u/79619?v=3","gravatar_id":"","url":"https://api.github.com/users/iamvery","html_url":"https://github.com/iamvery","followers_url":"https://api.github.com/users/iamvery/followers","following_url":"https://api.github.com/users/iamvery/following{/other_user}","gists_url":"https://api.github.com/users/iamvery/gists{/gist_id}","starred_url":"https://api.github.com/users/iamvery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamvery/subscriptions","organizations_url":"https://api.github.com/users/iamvery/orgs","repos_url":"https://api.github.com/users/iamvery/repos","events_url":"https://api.github.com/users/iamvery/events{/privacy}","received_events_url":"https://api.github.com/users/iamvery/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iamvery/lita-reviewme","description":null,"fork":false,"url":"https://api.github.com/repos/iamvery/lita-reviewme","forks_url":"https://api.github.com/repos/iamvery/lita-reviewme/forks","keys_url":"https://api.github.com/repos/iamvery/lita-reviewme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iamvery/lita-reviewme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iamvery/lita-reviewme/teams","hooks_url":"https://api.github.com/repos/iamvery/lita-reviewme/hooks","issue_events_url":"https://api.github.com/repos/iamvery/lita-reviewme/issues/events{/number}","events_url":"https://api.github.com/repos/iamvery/lita-reviewme/events","assignees_url":"https://api.github.com/repos/iamvery/lita-reviewme/assignees{/user}","branches_url":"https://api.github.com/repos/iamvery/lita-reviewme/branches{/branch}","tags_url":"https://api.github.com/repos/iamvery/lita-reviewme/tags","blobs_url":"https://api.github.com/repos/iamvery/lita-reviewme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iamvery/lita-reviewme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iamvery/lita-reviewme/git/refs{/sha}","trees_url":"https://api.github.com/repos/iamvery/lita-reviewme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iamvery/lita-reviewme/statuses/{sha}","languages_url":"https://api.github.com/repos/iamvery/lita-reviewme/languages","stargazers_url":"https://api.github.com/repos/iamvery/lita-reviewme/stargazers","contributors_url":"https://api.github.com/repos/iamvery/lita-reviewme/contributors","subscribers_url":"https://api.github.com/repos/iamvery/lita-reviewme/subscribers","subscription_url":"https://api.github.com/repos/iamvery/lita-reviewme/subscription","commits_url":"https://api.github.com/repos/iamvery/lita-reviewme/commits{/sha}","git_commits_url":"https://api.github.com/repos/iamvery/lita-reviewme/git/commits{/sha}","comments_url":"https://api.github.com/repos/iamvery/lita-reviewme/comments{/number}","issue_comment_url":"https://api.github.com/repos/iamvery/lita-reviewme/issues/comments{/number}","contents_url":"https://api.github.com/repos/iamvery/lita-reviewme/contents/{+path}","compare_url":"https://api.github.com/repos/iamvery/lita-reviewme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iamvery/lita-reviewme/merges","archive_url":"https://api.github.com/repos/iamvery/lita-reviewme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iamvery/lita-reviewme/downloads","issues_url":"https://api.github.com/repos/iamvery/lita-reviewme/issues{/number}","pulls_url":"https://api.github.com/repos/iamvery/lita-reviewme/pulls{/number}","milestones_url":"https://api.github.com/repos/iamvery/lita-reviewme/milestones{/number}","notifications_url":"https://api.github.com/repos/iamvery/lita-reviewme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iamvery/lita-reviewme/labels{/name}","releases_url":"https://api.github.com/repos/iamvery/lita-reviewme/releases{/id}","deployments_url":"https://api.github.com/repos/iamvery/lita-reviewme/deployments","created_at":"2015-02-05T03:12:25Z","updated_at":"2016-05-04T09:15:45Z","pushed_at":"2017-02-07T22:05:08Z","git_url":"git://github.com/iamvery/lita-reviewme.git","ssh_url":"git@github.com:iamvery/lita-reviewme.git","clone_url":"https://github.com/iamvery/lita-reviewme.git","svn_url":"https://github.com/iamvery/lita-reviewme","homepage":null,"size":65,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":26,"forks":5,"open_issues":26,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/50"},"html":{"href":"https://github.com/iamvery/lita-reviewme/pull/50"},"issue":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/issues/50"},"comments":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/iamvery/lita-reviewme/statuses/96cad9c9e469184c8c6bbb5317cfd9152ddccbfd"}}}}
{"actor":{"display_login":"iamvery"}}