ajax

Stubbing API Calls in RSpec/Capybara with Puffing Billy and VCR

About a year ago, when I first discovered and started using VCR [https://www.thegreatcodeadventure.com/stubbing-with-vcr/] to stub the external API calls being made during the run of an RSpec test suite, I thought all my testing woes were over. At last (I thought), an easy way to mock…