spec/integration/braintree/credit_card_spec.rb in braintree-2.62.0 vs spec/integration/braintree/credit_card_spec.rb in braintree-2.63.0
- old
+ new
@@ -17,10 +17,10 @@
:expiration_date => "05/2009",
:cvv => "100"
)
result.success?.should == true
credit_card = result.credit_card
- credit_card.token.should =~ /\A\w{4,5}\z/
+ credit_card.token.should =~ /\A\w{4,}\z/
credit_card.bin.should == Braintree::Test::CreditCardNumbers::Visa[0, 6]
credit_card.last_4.should == Braintree::Test::CreditCardNumbers::Visa[-4..-1]
credit_card.expiration_date.should == "05/2009"
credit_card.unique_number_identifier.should =~ /\A\w{32}\z/
credit_card.venmo_sdk?.should == false