spec/integration/braintree/error_codes_spec.rb in braintree-4.14.0 vs spec/integration/braintree/error_codes_spec.rb in braintree-4.15.0

- old
+ new

@@ -6,11 +6,11 @@ result = Braintree::Customer.create( :credit_card => { :cardholder_name => "x" * 256 }, ) - result.success?.should == false - result.errors.for(:customer).for(:credit_card).map { |e| e.code }.should \ + expect(result.success?).to eq(false) + expect(result.errors.for(:customer).for(:credit_card).map { |e| e.code }).to \ include(Braintree::ErrorCodes::CreditCard::CardholderNameIsTooLong) end end end