Created
January 21, 2015 15:03
-
-
Save troszok/2dfc025a5a346899d435 to your computer and use it in GitHub Desktop.
vcr_for_amazon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on that: http://myronmars.to/n/dev-blog/2011/10/custom-request-matchers-in-vcr-2-0 | |
uri_without_timestamp = VCR.request_matchers.uri_without_param("Timestamp", "Signature") | |
context "amazon integration", vcr: {record: :once, :match_requests_on => [:method, uri_without_timestamp]} do | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment