Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Testing with VCR

#291 Testing with VCR pro

Oct 17, 2011 | 13 minutes | Testing, Plugins
If you ever need to test an application which communicates with an external API, VCR is the way to go. Here I show a workflow in RSpec, how to use with capybara-mechanize, how to add sanitization filtering, and more.
  • Download:
  • source codeProject Files in Zip (89 KB)
  • mp4Full Size H.264 Video (35.7 MB)
  • m4vSmaller H.264 Video (17.4 MB)
  • webmFull Size VP8 Video (17.6 MB)
  • ogvFull Size Theora Video (45.6 MB)