spec/integration/braintree/subscription_spec.rb in braintree-4.9.0 vs spec/integration/braintree/subscription_spec.rb in braintree-4.10.0
- old
+ new
@@ -94,10 +94,10 @@
end
it "creates a subscription when given a paypal account payment_method_nonce" do
customer = Braintree::Customer.create!
payment_method_result = Braintree::PaymentMethod.create(
- :payment_method_nonce => Braintree::Test::Nonce::PayPalFuturePayment,
+ :payment_method_nonce => Braintree::Test::Nonce::PayPalBillingAgreement,
:customer_id => customer.id,
)
result = Braintree::Subscription.create(
:payment_method_token => payment_method_result.payment_method.token,