{"action":"created","issue":{"url":"https://api.github.com/repos/Hanocha/awesome_events/issues/4","repository_url":"https://api.github.com/repos/Hanocha/awesome_events","labels_url":"https://api.github.com/repos/Hanocha/awesome_events/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Hanocha/awesome_events/issues/4/comments","events_url":"https://api.github.com/repos/Hanocha/awesome_events/issues/4/events","html_url":"https://github.com/Hanocha/awesome_events/pull/4","id":156904011,"number":4,"title":"capybaraを使用したエンドツーエンドテストの実装","user":{"login":"Hanocha","id":5087172,"avatar_url":"https://avatars.githubusercontent.com/u/5087172?v=3","gravatar_id":"","url":"https://api.github.com/users/Hanocha","html_url":"https://github.com/Hanocha","followers_url":"https://api.github.com/users/Hanocha/followers","following_url":"https://api.github.com/users/Hanocha/following{/other_user}","gists_url":"https://api.github.com/users/Hanocha/gists{/gist_id}","starred_url":"https://api.github.com/users/Hanocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hanocha/subscriptions","organizations_url":"https://api.github.com/users/Hanocha/orgs","repos_url":"https://api.github.com/users/Hanocha/repos","events_url":"https://api.github.com/users/Hanocha/events{/privacy}","received_events_url":"https://api.github.com/users/Hanocha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-26T05:05:33Z","updated_at":"2016-05-27T01:51:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Hanocha/awesome_events/pulls/4","html_url":"https://github.com/Hanocha/awesome_events/pull/4","diff_url":"https://github.com/Hanocha/awesome_events/pull/4.diff","patch_url":"https://github.com/Hanocha/awesome_events/pull/4.patch"},"body":"## やりたいこと\r\n\r\ncapybaraというエンドツーエンドテストを行うためのgemを使い、\r\nログイン機能のエンドツーエンドテストを行ってみる。\r\n(P258~)\r\n\r\n## やること\r\n\r\n- [x] capybaraの導入\r\n - 同時に拡張マッチャもインストールする\r\n- [x] エンドツーエンドテストの記述\r\n - [x] テスト用にOmniAuthの挙動を差し替える設定を追加\r\n - [x] ログインのエンドツーエンドテストを記述\r\n - [x] テストの実行と確認\r\n\r\n## 余談\r\n\r\nエンドツーエンドテスト、フィーチャスペックとかインテグレーションテストとか別名が多い"},"comment":{"url":"https://api.github.com/repos/Hanocha/awesome_events/issues/comments/222041311","html_url":"https://github.com/Hanocha/awesome_events/pull/4#issuecomment-222041311","issue_url":"https://api.github.com/repos/Hanocha/awesome_events/issues/4","id":222041311,"user":{"login":"Hanocha","id":5087172,"avatar_url":"https://avatars.githubusercontent.com/u/5087172?v=3","gravatar_id":"","url":"https://api.github.com/users/Hanocha","html_url":"https://github.com/Hanocha","followers_url":"https://api.github.com/users/Hanocha/followers","following_url":"https://api.github.com/users/Hanocha/following{/other_user}","gists_url":"https://api.github.com/users/Hanocha/gists{/gist_id}","starred_url":"https://api.github.com/users/Hanocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hanocha/subscriptions","organizations_url":"https://api.github.com/users/Hanocha/orgs","repos_url":"https://api.github.com/users/Hanocha/repos","events_url":"https://api.github.com/users/Hanocha/events{/privacy}","received_events_url":"https://api.github.com/users/Hanocha/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T01:51:50Z","updated_at":"2016-05-27T01:51:50Z","body":"@a-know \r\n`rails g rspec:feature`で作ったテストへの置き換えと、使用していないgemの削除をしました。\r\n確認お願いします。"}}
{"actor":{"display_login":"Hanocha"}}