How to not re-record VCR cassettes, part 3

Custom Matchers allow a lot of flexibility. For example for an app that deals with Reddit URLs, this matcher allows any variation of the reddit URL to match as long as the Post ID matches: module VCRHelpers reddit_url= ->(request_1, request_2) { extract_reddit_id(request_1) == extract_reddit_id(request_2) } end (Bonus: Uses the neat Ruby lambda syntax) Then to use it: describe 'my test', vcr: {…