{"action":"created","comment":{"url":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/comments/68737393","id":68737393,"diff_hunk":"@@ -0,0 +1,6 @@\n+module LoginHelper\n+  def set_up_loggin(user,logged_in)","path":"spec/support/login_helper.rb","position":null,"original_position":2,"commit_id":"55b29907d236e00186b57b34999b38162dbfaf4c","original_commit_id":"7a9ed559d255d81d24127a57c39870aef57444ac","user":{"login":"pokotyamu","id":3479317,"avatar_url":"https://avatars.githubusercontent.com/u/3479317?v=3","gravatar_id":"","url":"https://api.github.com/users/pokotyamu","html_url":"https://github.com/pokotyamu","followers_url":"https://api.github.com/users/pokotyamu/followers","following_url":"https://api.github.com/users/pokotyamu/following{/other_user}","gists_url":"https://api.github.com/users/pokotyamu/gists{/gist_id}","starred_url":"https://api.github.com/users/pokotyamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokotyamu/subscriptions","organizations_url":"https://api.github.com/users/pokotyamu/orgs","repos_url":"https://api.github.com/users/pokotyamu/repos","events_url":"https://api.github.com/users/pokotyamu/events{/privacy}","received_events_url":"https://api.github.com/users/pokotyamu/received_events","type":"User","site_admin":false},"body":"55b2990\r\n\r\nメソッド名を `login` に直しました。\r\nまた、`user` でログインしている時点で、 `#logged_in?` は true になることが自明なので、引数から取り除きました！","created_at":"2016-06-28T11:06:59Z","updated_at":"2016-06-28T11:06:59Z","html_url":"https://github.com/pokotyamu/awesome_events/pull/21#discussion_r68737393","pull_request_url":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/comments/68737393"},"html":{"href":"https://github.com/pokotyamu/awesome_events/pull/21#discussion_r68737393"},"pull_request":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/21","id":75409478,"html_url":"https://github.com/pokotyamu/awesome_events/pull/21","diff_url":"https://github.com/pokotyamu/awesome_events/pull/21.diff","patch_url":"https://github.com/pokotyamu/awesome_events/pull/21.patch","issue_url":"https://api.github.com/repos/pokotyamu/awesome_events/issues/21","number":21,"state":"open","locked":false,"title":"リクエスト関係のテストのリファクタリング","user":{"login":"pokotyamu","id":3479317,"avatar_url":"https://avatars.githubusercontent.com/u/3479317?v=3","gravatar_id":"","url":"https://api.github.com/users/pokotyamu","html_url":"https://github.com/pokotyamu","followers_url":"https://api.github.com/users/pokotyamu/followers","following_url":"https://api.github.com/users/pokotyamu/following{/other_user}","gists_url":"https://api.github.com/users/pokotyamu/gists{/gist_id}","starred_url":"https://api.github.com/users/pokotyamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokotyamu/subscriptions","organizations_url":"https://api.github.com/users/pokotyamu/orgs","repos_url":"https://api.github.com/users/pokotyamu/repos","events_url":"https://api.github.com/users/pokotyamu/events{/privacy}","received_events_url":"https://api.github.com/users/pokotyamu/received_events","type":"User","site_admin":false},"body":"#20 の続き\r\n\r\nマージ後に指摘をいただいたところについて、修正した。\r\n\r\n## やったこと\r\n+ stub を作るメソッドを module に切り出した\r\n  + `view`、`features`、`controller` それぞれの該当箇所を対応させる\r\n+ `302 OK` というステータスコードのメッセージは存在しないので、`302 Found` に変更\r\n + [HTTPステータスコード - Wikipedia](https://ja.wikipedia.org/wiki/HTTP%E3%82%B9%E3%83%86%E3%83%BC%E3%82%BF%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89)","created_at":"2016-06-28T02:28:00Z","updated_at":"2016-06-28T11:06:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8827d39bff29070c912624d659e98d9a36f6e6d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/21/commits","review_comments_url":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/21/comments","review_comment_url":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pokotyamu/awesome_events/issues/21/comments","statuses_url":"https://api.github.com/repos/pokotyamu/awesome_events/statuses/55b29907d236e00186b57b34999b38162dbfaf4c","head":{"label":"pokotyamu:refactor-setup","ref":"refactor-setup","sha":"55b29907d236e00186b57b34999b38162dbfaf4c","user":{"login":"pokotyamu","id":3479317,"avatar_url":"https://avatars.githubusercontent.com/u/3479317?v=3","gravatar_id":"","url":"https://api.github.com/users/pokotyamu","html_url":"https://github.com/pokotyamu","followers_url":"https://api.github.com/users/pokotyamu/followers","following_url":"https://api.github.com/users/pokotyamu/following{/other_user}","gists_url":"https://api.github.com/users/pokotyamu/gists{/gist_id}","starred_url":"https://api.github.com/users/pokotyamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokotyamu/subscriptions","organizations_url":"https://api.github.com/users/pokotyamu/orgs","repos_url":"https://api.github.com/users/pokotyamu/repos","events_url":"https://api.github.com/users/pokotyamu/events{/privacy}","received_events_url":"https://api.github.com/users/pokotyamu/received_events","type":"User","site_admin":false},"repo":{"id":59534994,"name":"awesome_events","full_name":"pokotyamu/awesome_events","owner":{"login":"pokotyamu","id":3479317,"avatar_url":"https://avatars.githubusercontent.com/u/3479317?v=3","gravatar_id":"","url":"https://api.github.com/users/pokotyamu","html_url":"https://github.com/pokotyamu","followers_url":"https://api.github.com/users/pokotyamu/followers","following_url":"https://api.github.com/users/pokotyamu/following{/other_user}","gists_url":"https://api.github.com/users/pokotyamu/gists{/gist_id}","starred_url":"https://api.github.com/users/pokotyamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokotyamu/subscriptions","organizations_url":"https://api.github.com/users/pokotyamu/orgs","repos_url":"https://api.github.com/users/pokotyamu/repos","events_url":"https://api.github.com/users/pokotyamu/events{/privacy}","received_events_url":"https://api.github.com/users/pokotyamu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pokotyamu/awesome_events","description":"パrailsの研修用リポジトリ","fork":false,"url":"https://api.github.com/repos/pokotyamu/awesome_events","forks_url":"https://api.github.com/repos/pokotyamu/awesome_events/forks","keys_url":"https://api.github.com/repos/pokotyamu/awesome_events/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pokotyamu/awesome_events/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pokotyamu/awesome_events/teams","hooks_url":"https://api.github.com/repos/pokotyamu/awesome_events/hooks","issue_events_url":"https://api.github.com/repos/pokotyamu/awesome_events/issues/events{/number}","events_url":"https://api.github.com/repos/pokotyamu/awesome_events/events","assignees_url":"https://api.github.com/repos/pokotyamu/awesome_events/assignees{/user}","branches_url":"https://api.github.com/repos/pokotyamu/awesome_events/branches{/branch}","tags_url":"https://api.github.com/repos/pokotyamu/awesome_events/tags","blobs_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/refs{/sha}","trees_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pokotyamu/awesome_events/statuses/{sha}","languages_url":"https://api.github.com/repos/pokotyamu/awesome_events/languages","stargazers_url":"https://api.github.com/repos/pokotyamu/awesome_events/stargazers","contributors_url":"https://api.github.com/repos/pokotyamu/awesome_events/contributors","subscribers_url":"https://api.github.com/repos/pokotyamu/awesome_events/subscribers","subscription_url":"https://api.github.com/repos/pokotyamu/awesome_events/subscription","commits_url":"https://api.github.com/repos/pokotyamu/awesome_events/commits{/sha}","git_commits_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/commits{/sha}","comments_url":"https://api.github.com/repos/pokotyamu/awesome_events/comments{/number}","issue_comment_url":"https://api.github.com/repos/pokotyamu/awesome_events/issues/comments{/number}","contents_url":"https://api.github.com/repos/pokotyamu/awesome_events/contents/{+path}","compare_url":"https://api.github.com/repos/pokotyamu/awesome_events/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pokotyamu/awesome_events/merges","archive_url":"https://api.github.com/repos/pokotyamu/awesome_events/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pokotyamu/awesome_events/downloads","issues_url":"https://api.github.com/repos/pokotyamu/awesome_events/issues{/number}","pulls_url":"https://api.github.com/repos/pokotyamu/awesome_events/pulls{/number}","milestones_url":"https://api.github.com/repos/pokotyamu/awesome_events/milestones{/number}","notifications_url":"https://api.github.com/repos/pokotyamu/awesome_events/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pokotyamu/awesome_events/labels{/name}","releases_url":"https://api.github.com/repos/pokotyamu/awesome_events/releases{/id}","deployments_url":"https://api.github.com/repos/pokotyamu/awesome_events/deployments","created_at":"2016-05-24T02:47:08Z","updated_at":"2016-06-26T21:40:51Z","pushed_at":"2016-06-28T11:04:59Z","git_url":"git://github.com/pokotyamu/awesome_events.git","ssh_url":"git@github.com:pokotyamu/awesome_events.git","clone_url":"https://github.com/pokotyamu/awesome_events.git","svn_url":"https://github.com/pokotyamu/awesome_events","homepage":null,"size":225,"stargazers_count":3,"watchers_count":3,"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":3,"default_branch":"master"}},"base":{"label":"pokotyamu:master","ref":"master","sha":"42fd1066163b751fd10f36dada7a9c51d5fe4322","user":{"login":"pokotyamu","id":3479317,"avatar_url":"https://avatars.githubusercontent.com/u/3479317?v=3","gravatar_id":"","url":"https://api.github.com/users/pokotyamu","html_url":"https://github.com/pokotyamu","followers_url":"https://api.github.com/users/pokotyamu/followers","following_url":"https://api.github.com/users/pokotyamu/following{/other_user}","gists_url":"https://api.github.com/users/pokotyamu/gists{/gist_id}","starred_url":"https://api.github.com/users/pokotyamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokotyamu/subscriptions","organizations_url":"https://api.github.com/users/pokotyamu/orgs","repos_url":"https://api.github.com/users/pokotyamu/repos","events_url":"https://api.github.com/users/pokotyamu/events{/privacy}","received_events_url":"https://api.github.com/users/pokotyamu/received_events","type":"User","site_admin":false},"repo":{"id":59534994,"name":"awesome_events","full_name":"pokotyamu/awesome_events","owner":{"login":"pokotyamu","id":3479317,"avatar_url":"https://avatars.githubusercontent.com/u/3479317?v=3","gravatar_id":"","url":"https://api.github.com/users/pokotyamu","html_url":"https://github.com/pokotyamu","followers_url":"https://api.github.com/users/pokotyamu/followers","following_url":"https://api.github.com/users/pokotyamu/following{/other_user}","gists_url":"https://api.github.com/users/pokotyamu/gists{/gist_id}","starred_url":"https://api.github.com/users/pokotyamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokotyamu/subscriptions","organizations_url":"https://api.github.com/users/pokotyamu/orgs","repos_url":"https://api.github.com/users/pokotyamu/repos","events_url":"https://api.github.com/users/pokotyamu/events{/privacy}","received_events_url":"https://api.github.com/users/pokotyamu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pokotyamu/awesome_events","description":"パrailsの研修用リポジトリ","fork":false,"url":"https://api.github.com/repos/pokotyamu/awesome_events","forks_url":"https://api.github.com/repos/pokotyamu/awesome_events/forks","keys_url":"https://api.github.com/repos/pokotyamu/awesome_events/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pokotyamu/awesome_events/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pokotyamu/awesome_events/teams","hooks_url":"https://api.github.com/repos/pokotyamu/awesome_events/hooks","issue_events_url":"https://api.github.com/repos/pokotyamu/awesome_events/issues/events{/number}","events_url":"https://api.github.com/repos/pokotyamu/awesome_events/events","assignees_url":"https://api.github.com/repos/pokotyamu/awesome_events/assignees{/user}","branches_url":"https://api.github.com/repos/pokotyamu/awesome_events/branches{/branch}","tags_url":"https://api.github.com/repos/pokotyamu/awesome_events/tags","blobs_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/refs{/sha}","trees_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pokotyamu/awesome_events/statuses/{sha}","languages_url":"https://api.github.com/repos/pokotyamu/awesome_events/languages","stargazers_url":"https://api.github.com/repos/pokotyamu/awesome_events/stargazers","contributors_url":"https://api.github.com/repos/pokotyamu/awesome_events/contributors","subscribers_url":"https://api.github.com/repos/pokotyamu/awesome_events/subscribers","subscription_url":"https://api.github.com/repos/pokotyamu/awesome_events/subscription","commits_url":"https://api.github.com/repos/pokotyamu/awesome_events/commits{/sha}","git_commits_url":"https://api.github.com/repos/pokotyamu/awesome_events/git/commits{/sha}","comments_url":"https://api.github.com/repos/pokotyamu/awesome_events/comments{/number}","issue_comment_url":"https://api.github.com/repos/pokotyamu/awesome_events/issues/comments{/number}","contents_url":"https://api.github.com/repos/pokotyamu/awesome_events/contents/{+path}","compare_url":"https://api.github.com/repos/pokotyamu/awesome_events/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pokotyamu/awesome_events/merges","archive_url":"https://api.github.com/repos/pokotyamu/awesome_events/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pokotyamu/awesome_events/downloads","issues_url":"https://api.github.com/repos/pokotyamu/awesome_events/issues{/number}","pulls_url":"https://api.github.com/repos/pokotyamu/awesome_events/pulls{/number}","milestones_url":"https://api.github.com/repos/pokotyamu/awesome_events/milestones{/number}","notifications_url":"https://api.github.com/repos/pokotyamu/awesome_events/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pokotyamu/awesome_events/labels{/name}","releases_url":"https://api.github.com/repos/pokotyamu/awesome_events/releases{/id}","deployments_url":"https://api.github.com/repos/pokotyamu/awesome_events/deployments","created_at":"2016-05-24T02:47:08Z","updated_at":"2016-06-26T21:40:51Z","pushed_at":"2016-06-28T11:04:59Z","git_url":"git://github.com/pokotyamu/awesome_events.git","ssh_url":"git@github.com:pokotyamu/awesome_events.git","clone_url":"https://github.com/pokotyamu/awesome_events.git","svn_url":"https://github.com/pokotyamu/awesome_events","homepage":null,"size":225,"stargazers_count":3,"watchers_count":3,"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":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/21"},"html":{"href":"https://github.com/pokotyamu/awesome_events/pull/21"},"issue":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/issues/21"},"comments":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/pokotyamu/awesome_events/statuses/55b29907d236e00186b57b34999b38162dbfaf4c"}}}}
{"actor":{"display_login":"pokotyamu"}}