spec/integration/spec_helper.rb in braintree-4.7.0 vs spec/integration/spec_helper.rb in braintree-4.8.0
- old
+ new
@@ -52,9 +52,15 @@
with_other_merchant("fraud_protection_enterprise_integration_merchant_id", "fraud_protection_enterprise_integration_public_key", "fraud_protection_enterprise_integration_private_key") do
block.call
end
end
+ def with_chargeback_protection_merchant(&block)
+ with_other_merchant("fraud_protection_effortless_chargeback_protection_merchant_id", "effortless_chargeback_protection_public_key", "effortless_chargeback_protection_private_key") do
+ block.call
+ end
+ end
+
def with_altpay_merchant(&block)
with_other_merchant("altpay_merchant", "altpay_merchant_public_key", "altpay_merchant_private_key", &block)
end
def random_payment_method_token