spec/integration/braintree/transaction_spec.rb in braintree-2.68.2 vs spec/integration/braintree/transaction_spec.rb in braintree-2.69.0

- old
+ new

@@ -2127,10 +2127,12 @@ result.transaction.us_bank_account_details.last_4.should == "1234" result.transaction.us_bank_account_details.account_type.should == "checking" result.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234" result.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman" result.transaction.us_bank_account_details.bank_name.should == "UNKNOWN" + result.transaction.us_bank_account_details.ach_mandate.text.should == "cl mandate text" + result.transaction.us_bank_account_details.ach_mandate.accepted_at.should be_a Time end it "return successful result for vaulting and transacting on vaulted token" do result = Braintree::Transaction.create( :type => "sale", @@ -2150,10 +2152,13 @@ result.transaction.us_bank_account_details.routing_number.should == "123456789" result.transaction.us_bank_account_details.last_4.should == "1234" result.transaction.us_bank_account_details.account_type.should == "checking" result.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234" result.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman" + result.transaction.us_bank_account_details.bank_name.should == "UNKNOWN" + result.transaction.us_bank_account_details.ach_mandate.text.should == "cl mandate text" + result.transaction.us_bank_account_details.ach_mandate.accepted_at.should be_a Time result = Braintree::Transaction.create( :type => "sale", :amount => Braintree::Test::TransactionAmounts::Authorize, :merchant_account_id => "us_bank_merchant_account", @@ -2170,9 +2175,12 @@ result.transaction.us_bank_account_details.routing_number.should == "123456789" result.transaction.us_bank_account_details.last_4.should == "1234" result.transaction.us_bank_account_details.account_type.should == "checking" result.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234" result.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman" + result.transaction.us_bank_account_details.bank_name.should == "UNKNOWN" + result.transaction.us_bank_account_details.ach_mandate.text.should == "cl mandate text" + result.transaction.us_bank_account_details.ach_mandate.accepted_at.should be_a Time end it "returns failure for token that doesn't exist" do result = Braintree::Transaction.create( :type => "sale",