spec/integration/braintree/customer_spec.rb in braintree-2.14.0 vs spec/integration/braintree/customer_spec.rb in braintree-2.15.0
- old
+ new
@@ -109,9 +109,10 @@
result.customer.first_name.should == "Mike"
result.customer.last_name.should == "Jones"
result.customer.credit_cards[0].bin.should == Braintree::Test::CreditCardNumbers::MasterCard[0, 6]
result.customer.credit_cards[0].last_4.should == Braintree::Test::CreditCardNumbers::MasterCard[-4..-1]
result.customer.credit_cards[0].expiration_date.should == "05/2010"
+ result.customer.credit_cards[0].unique_number_identifier.should =~ /\A\w{32}\z/
end
it "verifies the card if credit_card[options][verify_card]=true" do
result = Braintree::Customer.create(
:first_name => "Mike",