spec/unit/braintree/customer_spec.rb in braintree-2.78.0 vs spec/unit/braintree/customer_spec.rb in braintree-2.79.0

- old
+ new

@@ -121,11 +121,33 @@ :email, :token, :billing_agreement_id, {:options => [:make_default]}, ]}, - {:options => [:paypal => [:payee_email, :order_id, :custom_field, :description, :amount]]}, + {:options => + [:paypal => [ + :payee_email, + :order_id, + :custom_field, + :description, + :amount, + {:shipping => [ + :company, + :country_code_alpha2, + :country_code_alpha3, + :country_code_numeric, + :country_name, + :extended_address, + :first_name, + :last_name, + :locality, + :postal_code, + :region, + :street_address, + ]} + ]] + }, {:custom_fields => :_any_key_} ] end end @@ -180,10 +202,32 @@ :region, :street_address, {:options => [:update_existing]} ]} ]}, - {:options => [:paypal => [:payee_email, :order_id, :custom_field, :description, :amount]]}, + {:options => + [:paypal => [ + :payee_email, + :order_id, + :custom_field, + :description, + :amount, + {:shipping => [ + :company, + :country_code_alpha2, + :country_code_alpha3, + :country_code_numeric, + :country_name, + :extended_address, + :first_name, + :last_name, + :locality, + :postal_code, + :region, + :street_address, + ]} + ]] + }, {:custom_fields => :_any_key_} ] end end