Refactoring Google Payment
Simplifying Google Payment Tests with FakeGooglePurchaseServer: Power of Abstraction
Testing in-app purchases involving Google Payments can be a nightmare. Current methods require extensive setup, including stubbing requests for various response scenarios from the Google Payment server. This can make tests difficult to read and maintain
let!(:google_sku) { 'com.vidio.