Mock the test call to Heroku.
slothbear opened this issue · 1 comments
slothbear commented
Since the push to Heroku is designed to fail (with a random repository name), it makes sense to mock the call. The extended timeout can be removed too.
slothbear commented
If #4 is fixed, it will be hard to test if the push to Heroku has been mocked. Perhaps push to a test repository on Github? That wouldn't be the same as a real push to Heroku, but it would test the basic mechanism of push -- and allow testing of pushing previous commits (#4). On the other hand, it would require a network for the test.