![Refactoring Google Payment](https://storage.googleapis.com/vidio-gke-prod-hantu-assets/2024/05/Screenshot-2024-05-22-at-10.16.28-e93807.png)
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.