Tag Archives: webmock

Payment Gateway testing using webmock

Testing the payment gateway involves lots of scenarios like what should happen if exception is raised while doing payment. To test this scenario we have to call payment gateway API and take response. But herein lies a problem. The test … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , , | Leave a comment

Stubbing Geo-location requests using webmock

Geo-location integration is common today for every web application. We have gems on hand, to integrate Geo-location to our application. With few steps of configuration we can Geo-code our attributes ie., user addresses. But testing Geo-coding integration takes much more … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , , | 2 Comments