Testing external API integration with VCR gem
Suppose your application connects to an external service via API and you have a wrapper for this API that handles and parses response. The VCR gem gives you ability to store parsed response in a special format (cassetes). VCR makes a real request to the API for the first test run and writes it's response to the cassete for next test runnings.
Testing external API integration with VCR gem #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper