{"action":"created","comment":{"url":"https://api.github.com/repos/yuemori/slack_bot/pulls/comments/44045357","id":44045357,"diff_hunk":"@@ -34,21 +34,21 @@\n     end\n \n     context 'type' do\n-      let(:key) { :type }\n-      let(:return_value) { data[:type] }\n+      let(:key) { 'type' }\n+      let(:return_value) { data['type'] }\n       it_behaves_like 'check defined_method'\n     end\n \n     context 'text' do\n-      let(:key) { :text }\n-      let(:return_value) { data[:text] }\n+      let(:key) { 'text' }","path":"spec/slack_bot/event_spec.rb","position":35,"original_position":35,"commit_id":"8e1484d54ab2d968fa277df3d27c33705a3ab7a5","original_commit_id":"8e1484d54ab2d968fa277df3d27c33705a3ab7a5","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","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":"Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-11-05T18:01:59Z","updated_at":"2015-11-05T18:01:59Z","html_url":"https://github.com/yuemori/slack_bot/pull/10#discussion_r44045357","pull_request_url":"https://api.github.com/repos/yuemori/slack_bot/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/yuemori/slack_bot/pulls/comments/44045357"},"html":{"href":"https://github.com/yuemori/slack_bot/pull/10#discussion_r44045357"},"pull_request":{"href":"https://api.github.com/repos/yuemori/slack_bot/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/yuemori/slack_bot/pulls/10","id":49858420,"html_url":"https://github.com/yuemori/slack_bot/pull/10","diff_url":"https://github.com/yuemori/slack_bot/pull/10.diff","patch_url":"https://github.com/yuemori/slack_bot/pull/10.patch","issue_url":"https://api.github.com/repos/yuemori/slack_bot/issues/10","number":10,"state":"open","locked":false,"title":"Fixed not register events","user":{"login":"yuemori","id":12092707,"avatar_url":"https://avatars.githubusercontent.com/u/12092707?v=3","gravatar_id":"","url":"https://api.github.com/users/yuemori","html_url":"https://github.com/yuemori","followers_url":"https://api.github.com/users/yuemori/followers","following_url":"https://api.github.com/users/yuemori/following{/other_user}","gists_url":"https://api.github.com/users/yuemori/gists{/gist_id}","starred_url":"https://api.github.com/users/yuemori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuemori/subscriptions","organizations_url":"https://api.github.com/users/yuemori/orgs","repos_url":"https://api.github.com/users/yuemori/repos","events_url":"https://api.github.com/users/yuemori/events{/privacy}","received_events_url":"https://api.github.com/users/yuemori/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-05T18:01:55Z","updated_at":"2015-11-05T18:02:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13ab057a8957d8b7560022716c70f0cc78898b7c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yuemori/slack_bot/pulls/10/commits","review_comments_url":"https://api.github.com/repos/yuemori/slack_bot/pulls/10/comments","review_comment_url":"https://api.github.com/repos/yuemori/slack_bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuemori/slack_bot/issues/10/comments","statuses_url":"https://api.github.com/repos/yuemori/slack_bot/statuses/8e1484d54ab2d968fa277df3d27c33705a3ab7a5","head":{"label":"yuemori:fix_not_register_events","ref":"fix_not_register_events","sha":"8e1484d54ab2d968fa277df3d27c33705a3ab7a5","user":{"login":"yuemori","id":12092707,"avatar_url":"https://avatars.githubusercontent.com/u/12092707?v=3","gravatar_id":"","url":"https://api.github.com/users/yuemori","html_url":"https://github.com/yuemori","followers_url":"https://api.github.com/users/yuemori/followers","following_url":"https://api.github.com/users/yuemori/following{/other_user}","gists_url":"https://api.github.com/users/yuemori/gists{/gist_id}","starred_url":"https://api.github.com/users/yuemori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuemori/subscriptions","organizations_url":"https://api.github.com/users/yuemori/orgs","repos_url":"https://api.github.com/users/yuemori/repos","events_url":"https://api.github.com/users/yuemori/events{/privacy}","received_events_url":"https://api.github.com/users/yuemori/received_events","type":"User","site_admin":false},"repo":{"id":45588192,"name":"slack_bot","full_name":"yuemori/slack_bot","owner":{"login":"yuemori","id":12092707,"avatar_url":"https://avatars.githubusercontent.com/u/12092707?v=3","gravatar_id":"","url":"https://api.github.com/users/yuemori","html_url":"https://github.com/yuemori","followers_url":"https://api.github.com/users/yuemori/followers","following_url":"https://api.github.com/users/yuemori/following{/other_user}","gists_url":"https://api.github.com/users/yuemori/gists{/gist_id}","starred_url":"https://api.github.com/users/yuemori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuemori/subscriptions","organizations_url":"https://api.github.com/users/yuemori/orgs","repos_url":"https://api.github.com/users/yuemori/repos","events_url":"https://api.github.com/users/yuemori/events{/privacy}","received_events_url":"https://api.github.com/users/yuemori/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuemori/slack_bot","description":"","fork":false,"url":"https://api.github.com/repos/yuemori/slack_bot","forks_url":"https://api.github.com/repos/yuemori/slack_bot/forks","keys_url":"https://api.github.com/repos/yuemori/slack_bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuemori/slack_bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuemori/slack_bot/teams","hooks_url":"https://api.github.com/repos/yuemori/slack_bot/hooks","issue_events_url":"https://api.github.com/repos/yuemori/slack_bot/issues/events{/number}","events_url":"https://api.github.com/repos/yuemori/slack_bot/events","assignees_url":"https://api.github.com/repos/yuemori/slack_bot/assignees{/user}","branches_url":"https://api.github.com/repos/yuemori/slack_bot/branches{/branch}","tags_url":"https://api.github.com/repos/yuemori/slack_bot/tags","blobs_url":"https://api.github.com/repos/yuemori/slack_bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuemori/slack_bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuemori/slack_bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuemori/slack_bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuemori/slack_bot/statuses/{sha}","languages_url":"https://api.github.com/repos/yuemori/slack_bot/languages","stargazers_url":"https://api.github.com/repos/yuemori/slack_bot/stargazers","contributors_url":"https://api.github.com/repos/yuemori/slack_bot/contributors","subscribers_url":"https://api.github.com/repos/yuemori/slack_bot/subscribers","subscription_url":"https://api.github.com/repos/yuemori/slack_bot/subscription","commits_url":"https://api.github.com/repos/yuemori/slack_bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuemori/slack_bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuemori/slack_bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuemori/slack_bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuemori/slack_bot/contents/{+path}","compare_url":"https://api.github.com/repos/yuemori/slack_bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuemori/slack_bot/merges","archive_url":"https://api.github.com/repos/yuemori/slack_bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuemori/slack_bot/downloads","issues_url":"https://api.github.com/repos/yuemori/slack_bot/issues{/number}","pulls_url":"https://api.github.com/repos/yuemori/slack_bot/pulls{/number}","milestones_url":"https://api.github.com/repos/yuemori/slack_bot/milestones{/number}","notifications_url":"https://api.github.com/repos/yuemori/slack_bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuemori/slack_bot/labels{/name}","releases_url":"https://api.github.com/repos/yuemori/slack_bot/releases{/id}","created_at":"2015-11-05T04:45:12Z","updated_at":"2015-11-05T04:45:34Z","pushed_at":"2015-11-05T18:01:56Z","git_url":"git://github.com/yuemori/slack_bot.git","ssh_url":"git@github.com:yuemori/slack_bot.git","clone_url":"https://github.com/yuemori/slack_bot.git","svn_url":"https://github.com/yuemori/slack_bot","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"yuemori:master","ref":"master","sha":"bfa2c5a1b60a44e9a666bbe25fdf9cf444847f21","user":{"login":"yuemori","id":12092707,"avatar_url":"https://avatars.githubusercontent.com/u/12092707?v=3","gravatar_id":"","url":"https://api.github.com/users/yuemori","html_url":"https://github.com/yuemori","followers_url":"https://api.github.com/users/yuemori/followers","following_url":"https://api.github.com/users/yuemori/following{/other_user}","gists_url":"https://api.github.com/users/yuemori/gists{/gist_id}","starred_url":"https://api.github.com/users/yuemori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuemori/subscriptions","organizations_url":"https://api.github.com/users/yuemori/orgs","repos_url":"https://api.github.com/users/yuemori/repos","events_url":"https://api.github.com/users/yuemori/events{/privacy}","received_events_url":"https://api.github.com/users/yuemori/received_events","type":"User","site_admin":false},"repo":{"id":45588192,"name":"slack_bot","full_name":"yuemori/slack_bot","owner":{"login":"yuemori","id":12092707,"avatar_url":"https://avatars.githubusercontent.com/u/12092707?v=3","gravatar_id":"","url":"https://api.github.com/users/yuemori","html_url":"https://github.com/yuemori","followers_url":"https://api.github.com/users/yuemori/followers","following_url":"https://api.github.com/users/yuemori/following{/other_user}","gists_url":"https://api.github.com/users/yuemori/gists{/gist_id}","starred_url":"https://api.github.com/users/yuemori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuemori/subscriptions","organizations_url":"https://api.github.com/users/yuemori/orgs","repos_url":"https://api.github.com/users/yuemori/repos","events_url":"https://api.github.com/users/yuemori/events{/privacy}","received_events_url":"https://api.github.com/users/yuemori/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuemori/slack_bot","description":"","fork":false,"url":"https://api.github.com/repos/yuemori/slack_bot","forks_url":"https://api.github.com/repos/yuemori/slack_bot/forks","keys_url":"https://api.github.com/repos/yuemori/slack_bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuemori/slack_bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuemori/slack_bot/teams","hooks_url":"https://api.github.com/repos/yuemori/slack_bot/hooks","issue_events_url":"https://api.github.com/repos/yuemori/slack_bot/issues/events{/number}","events_url":"https://api.github.com/repos/yuemori/slack_bot/events","assignees_url":"https://api.github.com/repos/yuemori/slack_bot/assignees{/user}","branches_url":"https://api.github.com/repos/yuemori/slack_bot/branches{/branch}","tags_url":"https://api.github.com/repos/yuemori/slack_bot/tags","blobs_url":"https://api.github.com/repos/yuemori/slack_bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuemori/slack_bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuemori/slack_bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuemori/slack_bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuemori/slack_bot/statuses/{sha}","languages_url":"https://api.github.com/repos/yuemori/slack_bot/languages","stargazers_url":"https://api.github.com/repos/yuemori/slack_bot/stargazers","contributors_url":"https://api.github.com/repos/yuemori/slack_bot/contributors","subscribers_url":"https://api.github.com/repos/yuemori/slack_bot/subscribers","subscription_url":"https://api.github.com/repos/yuemori/slack_bot/subscription","commits_url":"https://api.github.com/repos/yuemori/slack_bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuemori/slack_bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuemori/slack_bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuemori/slack_bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuemori/slack_bot/contents/{+path}","compare_url":"https://api.github.com/repos/yuemori/slack_bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuemori/slack_bot/merges","archive_url":"https://api.github.com/repos/yuemori/slack_bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuemori/slack_bot/downloads","issues_url":"https://api.github.com/repos/yuemori/slack_bot/issues{/number}","pulls_url":"https://api.github.com/repos/yuemori/slack_bot/pulls{/number}","milestones_url":"https://api.github.com/repos/yuemori/slack_bot/milestones{/number}","notifications_url":"https://api.github.com/repos/yuemori/slack_bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuemori/slack_bot/labels{/name}","releases_url":"https://api.github.com/repos/yuemori/slack_bot/releases{/id}","created_at":"2015-11-05T04:45:12Z","updated_at":"2015-11-05T04:45:34Z","pushed_at":"2015-11-05T18:01:56Z","git_url":"git://github.com/yuemori/slack_bot.git","ssh_url":"git@github.com:yuemori/slack_bot.git","clone_url":"https://github.com/yuemori/slack_bot.git","svn_url":"https://github.com/yuemori/slack_bot","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yuemori/slack_bot/pulls/10"},"html":{"href":"https://github.com/yuemori/slack_bot/pull/10"},"issue":{"href":"https://api.github.com/repos/yuemori/slack_bot/issues/10"},"comments":{"href":"https://api.github.com/repos/yuemori/slack_bot/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/yuemori/slack_bot/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/yuemori/slack_bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuemori/slack_bot/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/yuemori/slack_bot/statuses/8e1484d54ab2d968fa277df3d27c33705a3ab7a5"}}}}