spec/integration/spec_helper.rb in braintree-4.9.0 vs spec/integration/spec_helper.rb in braintree-4.10.0
- old
+ new
@@ -65,6 +65,12 @@
end
def random_payment_method_token
"payment-method-token-#{SecureRandom.hex(6)}"
end
+
+ def with_duplicate_checking_merchant(&block)
+ with_other_merchant("dup_checking_integration_merchant_id", "dup_checking_integration_public_key", "dup_checking_integration_private_key") do
+ block.call
+ end
+ end
end