{"action":"created","issue":{"url":"https://api.github.com/repos/code-corps/stripity-stripe/issues/93","repository_url":"https://api.github.com/repos/code-corps/stripity-stripe","labels_url":"https://api.github.com/repos/code-corps/stripity-stripe/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/code-corps/stripity-stripe/issues/93/comments","events_url":"https://api.github.com/repos/code-corps/stripity-stripe/issues/93/events","html_url":"https://github.com/code-corps/stripity-stripe/issues/93","id":183812215,"number":93,"title":"Mock Stripe within tests","user":{"login":"JoshSmith","id":321667,"avatar_url":"https://avatars.githubusercontent.com/u/321667?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshSmith","html_url":"https://github.com/JoshSmith","followers_url":"https://api.github.com/users/JoshSmith/followers","following_url":"https://api.github.com/users/JoshSmith/following{/other_user}","gists_url":"https://api.github.com/users/JoshSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshSmith/subscriptions","organizations_url":"https://api.github.com/users/JoshSmith/orgs","repos_url":"https://api.github.com/users/JoshSmith/repos","events_url":"https://api.github.com/users/JoshSmith/events{/privacy}","received_events_url":"https://api.github.com/users/JoshSmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/code-corps/stripity-stripe/labels/hacktoberfest","name":"hacktoberfest","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-18T21:48:39Z","updated_at":"2016-10-20T03:51:03Z","closed_at":null,"body":"Right now many of the tests either hit Stripe or have VCR cassettes. The more mocking or dependency injection or any other technique we can use to reduce the external reliance on hitting Stripe, the better."},"comment":{"url":"https://api.github.com/repos/code-corps/stripity-stripe/issues/comments/255002534","html_url":"https://github.com/code-corps/stripity-stripe/issues/93#issuecomment-255002534","issue_url":"https://api.github.com/repos/code-corps/stripity-stripe/issues/93","id":255002534,"user":{"login":"dmvt","id":1116695,"avatar_url":"https://avatars.githubusercontent.com/u/1116695?v=3","gravatar_id":"","url":"https://api.github.com/users/dmvt","html_url":"https://github.com/dmvt","followers_url":"https://api.github.com/users/dmvt/followers","following_url":"https://api.github.com/users/dmvt/following{/other_user}","gists_url":"https://api.github.com/users/dmvt/gists{/gist_id}","starred_url":"https://api.github.com/users/dmvt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmvt/subscriptions","organizations_url":"https://api.github.com/users/dmvt/orgs","repos_url":"https://api.github.com/users/dmvt/repos","events_url":"https://api.github.com/users/dmvt/events{/privacy}","received_events_url":"https://api.github.com/users/dmvt/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T03:51:03Z","updated_at":"2016-10-20T03:51:03Z","body":"I wrote the idea of never hitting the API as part of our testing into the [Version 2 RFC](https://github.com/code-corps/stripity-stripe/pull/101). I also think the idea of the mock module is an interesting one. Perhaps we should leave this open until we see how the Version 2 testing approach plays out?"}}
{"actor":{"display_login":"dmvt"}}