test/integration_test_helper.rb in peddler-0.11.1 vs test/integration_test_helper.rb in peddler-0.12.0
- old
+ new
@@ -35,15 +35,14 @@
matcher = VCR.request_matchers.uri_without_param(
'AWSAccessKeyId', 'SellerId', 'Signature', 'Timestamp', 'StartDate',
'CreatedAfter', 'QueryStartDateTime'
)
c.default_cassette_options = {
- match_requests_on: [:method, matcher],
+ match_requests_on: [:host, :path, matcher],
record: :none
}
IntegrationTest::ACCOUNTS.each do |account|
c.filter_sensitive_data('MERCHANT_ID') { account.fetch('merchant_id') }
- c.filter_sensitive_data('AWS_SECRET_ACCESS_KEY') { account.fetch('aws_secret_access_key') }
c.filter_sensitive_data('AWS_ACCESS_KEY_ID') { account.fetch('aws_access_key_id') }
end
end