spec/integration/braintree/transaction_spec.rb in braintree-2.99.0 vs spec/integration/braintree/transaction_spec.rb in braintree-2.100.0
- old
+ new
@@ -1643,10 +1643,11 @@
)
result.success?.should == true
result.transaction.should_not be_nil
apple_pay_details = result.transaction.apple_pay_details
apple_pay_details.should_not be_nil
+ apple_pay_details.bin.should_not be_nil
apple_pay_details.card_type.should == Braintree::ApplePayCard::CardType::Visa
apple_pay_details.payment_instrument_name.should == "Visa 8886"
apple_pay_details.source_description.should == "Visa 8886"
apple_pay_details.expiration_month.to_i.should > 0
apple_pay_details.expiration_year.to_i.should > 0
@@ -1693,9 +1694,10 @@
)
result.success?.should == true
result.transaction.should_not be_nil
android_pay_details = result.transaction.android_pay_details
android_pay_details.should_not be_nil
+ android_pay_details.bin.should_not be_nil
android_pay_details.card_type.should == Braintree::CreditCard::CardType::Discover
android_pay_details.virtual_card_type.should == Braintree::CreditCard::CardType::Discover
android_pay_details.last_4.should == "1117"
android_pay_details.virtual_card_last_4.should == "1117"
android_pay_details.source_description.should == "Discover 1111"