RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: mechanize xTesting x
Testing with VCR
Episode #291Oct 17, 201153 comments

Testing with VCR

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. (13 minutes)