{"action":"created","comment":{"url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/comments/198428000","pull_request_review_id":132354607,"id":198428000,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODQyODAwMA==","diff_hunk":"@@ -0,0 +1,17 @@\n+require 'rails_helper'\n+\n+RSpec.describe EventsHelper, type: :helper do\n+  let(:event_date) { create(:event_date) }\n+  let(:reaction) { create(:reaction, event_date: event_date, status: 1) }\n+  let(:second_reaction) { create(:reaction, event_date: event_date, status: 2) }\n+\n+  describe \"#convert_to_mark\" do\n+    subject { convert_to_mark(event_date) }\n+    before do\n+      reaction\n+      second_reaction\n+    end\n+\n+    it { is_expected.to eq ['◯', '△'] }","path":"spec/helpers/events_helper_spec.rb","position":15,"original_position":15,"commit_id":"0d6ba2d56a4e117e7a5c5b27387682699bf7b9bd","original_commit_id":"0d6ba2d56a4e117e7a5c5b27387682699bf7b9bd","user":{"login":"KotaSakurai","id":28912034,"node_id":"MDQ6VXNlcjI4OTEyMDM0","avatar_url":"https://avatars0.githubusercontent.com/u/28912034?v=4","gravatar_id":"","url":"https://api.github.com/users/KotaSakurai","html_url":"https://github.com/KotaSakurai","followers_url":"https://api.github.com/users/KotaSakurai/followers","following_url":"https://api.github.com/users/KotaSakurai/following{/other_user}","gists_url":"https://api.github.com/users/KotaSakurai/gists{/gist_id}","starred_url":"https://api.github.com/users/KotaSakurai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KotaSakurai/subscriptions","organizations_url":"https://api.github.com/users/KotaSakurai/orgs","repos_url":"https://api.github.com/users/KotaSakurai/repos","events_url":"https://api.github.com/users/KotaSakurai/events{/privacy}","received_events_url":"https://api.github.com/users/KotaSakurai/received_events","type":"User","site_admin":false},"body":"なんかかわいい","created_at":"2018-06-27T09:34:11Z","updated_at":"2018-06-27T09:34:11Z","html_url":"https://github.com/masayoshi-toku/nomikai_adjustment/pull/18#discussion_r198428000","pull_request_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/18","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/comments/198428000"},"html":{"href":"https://github.com/masayoshi-toku/nomikai_adjustment/pull/18#discussion_r198428000"},"pull_request":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/18","id":197353326,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MzUzMzI2","html_url":"https://github.com/masayoshi-toku/nomikai_adjustment/pull/18","diff_url":"https://github.com/masayoshi-toku/nomikai_adjustment/pull/18.diff","patch_url":"https://github.com/masayoshi-toku/nomikai_adjustment/pull/18.patch","issue_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues/18","number":18,"state":"open","locked":false,"title":"回答一覧ページの作成","user":{"login":"masayoshi-toku","id":39050027,"node_id":"MDQ6VXNlcjM5MDUwMDI3","avatar_url":"https://avatars1.githubusercontent.com/u/39050027?v=4","gravatar_id":"","url":"https://api.github.com/users/masayoshi-toku","html_url":"https://github.com/masayoshi-toku","followers_url":"https://api.github.com/users/masayoshi-toku/followers","following_url":"https://api.github.com/users/masayoshi-toku/following{/other_user}","gists_url":"https://api.github.com/users/masayoshi-toku/gists{/gist_id}","starred_url":"https://api.github.com/users/masayoshi-toku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masayoshi-toku/subscriptions","organizations_url":"https://api.github.com/users/masayoshi-toku/orgs","repos_url":"https://api.github.com/users/masayoshi-toku/repos","events_url":"https://api.github.com/users/masayoshi-toku/events{/privacy}","received_events_url":"https://api.github.com/users/masayoshi-toku/received_events","type":"User","site_admin":false},"body":"# 目的\r\n回答一覧ページの作成\r\n\r\n# 内容\r\nユーザー回答した内容をevents/showで表示できるようにしました。\r\n\r\n#13 のコミットも重複しています。#13 のブランチから追加した変更は[Add helper for reaction index](https://github.com/masayoshi-toku/nomikai_adjustment/commit/301b6e886b505495d93011c4f5d1911596013b1e)です。\r\n\r\nよろしくお願いします。","created_at":"2018-06-26T09:13:15Z","updated_at":"2018-06-27T09:34:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79752164567e45bd6455b62a9b27cde6e38f4613","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/18/commits","review_comments_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/18/comments","review_comment_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues/18/comments","statuses_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/statuses/0d6ba2d56a4e117e7a5c5b27387682699bf7b9bd","head":{"label":"masayoshi-toku:feature/add-reaction-index-for-event","ref":"feature/add-reaction-index-for-event","sha":"0d6ba2d56a4e117e7a5c5b27387682699bf7b9bd","user":{"login":"masayoshi-toku","id":39050027,"node_id":"MDQ6VXNlcjM5MDUwMDI3","avatar_url":"https://avatars1.githubusercontent.com/u/39050027?v=4","gravatar_id":"","url":"https://api.github.com/users/masayoshi-toku","html_url":"https://github.com/masayoshi-toku","followers_url":"https://api.github.com/users/masayoshi-toku/followers","following_url":"https://api.github.com/users/masayoshi-toku/following{/other_user}","gists_url":"https://api.github.com/users/masayoshi-toku/gists{/gist_id}","starred_url":"https://api.github.com/users/masayoshi-toku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masayoshi-toku/subscriptions","organizations_url":"https://api.github.com/users/masayoshi-toku/orgs","repos_url":"https://api.github.com/users/masayoshi-toku/repos","events_url":"https://api.github.com/users/masayoshi-toku/events{/privacy}","received_events_url":"https://api.github.com/users/masayoshi-toku/received_events","type":"User","site_admin":false},"repo":{"id":136150198,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxNTAxOTg=","name":"nomikai_adjustment","full_name":"masayoshi-toku/nomikai_adjustment","owner":{"login":"masayoshi-toku","id":39050027,"node_id":"MDQ6VXNlcjM5MDUwMDI3","avatar_url":"https://avatars1.githubusercontent.com/u/39050027?v=4","gravatar_id":"","url":"https://api.github.com/users/masayoshi-toku","html_url":"https://github.com/masayoshi-toku","followers_url":"https://api.github.com/users/masayoshi-toku/followers","following_url":"https://api.github.com/users/masayoshi-toku/following{/other_user}","gists_url":"https://api.github.com/users/masayoshi-toku/gists{/gist_id}","starred_url":"https://api.github.com/users/masayoshi-toku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masayoshi-toku/subscriptions","organizations_url":"https://api.github.com/users/masayoshi-toku/orgs","repos_url":"https://api.github.com/users/masayoshi-toku/repos","events_url":"https://api.github.com/users/masayoshi-toku/events{/privacy}","received_events_url":"https://api.github.com/users/masayoshi-toku/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/masayoshi-toku/nomikai_adjustment","description":null,"fork":false,"url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment","forks_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/forks","keys_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/teams","hooks_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/hooks","issue_events_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues/events{/number}","events_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/events","assignees_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/assignees{/user}","branches_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/branches{/branch}","tags_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/tags","blobs_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/refs{/sha}","trees_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/statuses/{sha}","languages_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/languages","stargazers_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/stargazers","contributors_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/contributors","subscribers_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/subscribers","subscription_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/subscription","commits_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/commits{/sha}","git_commits_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/commits{/sha}","comments_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/comments{/number}","issue_comment_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues/comments{/number}","contents_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/contents/{+path}","compare_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/merges","archive_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/downloads","issues_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues{/number}","pulls_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls{/number}","milestones_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/milestones{/number}","notifications_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/labels{/name}","releases_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/releases{/id}","deployments_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/deployments","created_at":"2018-06-05T09:04:02Z","updated_at":"2018-06-26T07:05:27Z","pushed_at":"2018-06-27T08:50:04Z","git_url":"git://github.com/masayoshi-toku/nomikai_adjustment.git","ssh_url":"git@github.com:masayoshi-toku/nomikai_adjustment.git","clone_url":"https://github.com/masayoshi-toku/nomikai_adjustment.git","svn_url":"https://github.com/masayoshi-toku/nomikai_adjustment","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"masayoshi-toku:master","ref":"master","sha":"9a7e9140269631297f9eed686954d794d4f46a15","user":{"login":"masayoshi-toku","id":39050027,"node_id":"MDQ6VXNlcjM5MDUwMDI3","avatar_url":"https://avatars1.githubusercontent.com/u/39050027?v=4","gravatar_id":"","url":"https://api.github.com/users/masayoshi-toku","html_url":"https://github.com/masayoshi-toku","followers_url":"https://api.github.com/users/masayoshi-toku/followers","following_url":"https://api.github.com/users/masayoshi-toku/following{/other_user}","gists_url":"https://api.github.com/users/masayoshi-toku/gists{/gist_id}","starred_url":"https://api.github.com/users/masayoshi-toku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masayoshi-toku/subscriptions","organizations_url":"https://api.github.com/users/masayoshi-toku/orgs","repos_url":"https://api.github.com/users/masayoshi-toku/repos","events_url":"https://api.github.com/users/masayoshi-toku/events{/privacy}","received_events_url":"https://api.github.com/users/masayoshi-toku/received_events","type":"User","site_admin":false},"repo":{"id":136150198,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxNTAxOTg=","name":"nomikai_adjustment","full_name":"masayoshi-toku/nomikai_adjustment","owner":{"login":"masayoshi-toku","id":39050027,"node_id":"MDQ6VXNlcjM5MDUwMDI3","avatar_url":"https://avatars1.githubusercontent.com/u/39050027?v=4","gravatar_id":"","url":"https://api.github.com/users/masayoshi-toku","html_url":"https://github.com/masayoshi-toku","followers_url":"https://api.github.com/users/masayoshi-toku/followers","following_url":"https://api.github.com/users/masayoshi-toku/following{/other_user}","gists_url":"https://api.github.com/users/masayoshi-toku/gists{/gist_id}","starred_url":"https://api.github.com/users/masayoshi-toku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masayoshi-toku/subscriptions","organizations_url":"https://api.github.com/users/masayoshi-toku/orgs","repos_url":"https://api.github.com/users/masayoshi-toku/repos","events_url":"https://api.github.com/users/masayoshi-toku/events{/privacy}","received_events_url":"https://api.github.com/users/masayoshi-toku/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/masayoshi-toku/nomikai_adjustment","description":null,"fork":false,"url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment","forks_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/forks","keys_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/teams","hooks_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/hooks","issue_events_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues/events{/number}","events_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/events","assignees_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/assignees{/user}","branches_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/branches{/branch}","tags_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/tags","blobs_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/refs{/sha}","trees_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/statuses/{sha}","languages_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/languages","stargazers_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/stargazers","contributors_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/contributors","subscribers_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/subscribers","subscription_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/subscription","commits_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/commits{/sha}","git_commits_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/git/commits{/sha}","comments_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/comments{/number}","issue_comment_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues/comments{/number}","contents_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/contents/{+path}","compare_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/merges","archive_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/downloads","issues_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues{/number}","pulls_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls{/number}","milestones_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/milestones{/number}","notifications_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/labels{/name}","releases_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/releases{/id}","deployments_url":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/deployments","created_at":"2018-06-05T09:04:02Z","updated_at":"2018-06-26T07:05:27Z","pushed_at":"2018-06-27T08:50:04Z","git_url":"git://github.com/masayoshi-toku/nomikai_adjustment.git","ssh_url":"git@github.com:masayoshi-toku/nomikai_adjustment.git","clone_url":"https://github.com/masayoshi-toku/nomikai_adjustment.git","svn_url":"https://github.com/masayoshi-toku/nomikai_adjustment","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/18"},"html":{"href":"https://github.com/masayoshi-toku/nomikai_adjustment/pull/18"},"issue":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues/18"},"comments":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/masayoshi-toku/nomikai_adjustment/statuses/0d6ba2d56a4e117e7a5c5b27387682699bf7b9bd"}},"author_association":"OWNER"}}
{"actor":{"display_login":"KotaSakurai"}}