spec/integration/braintree/customer_spec.rb in braintree-1.1.2 vs spec/integration/braintree/customer_spec.rb in braintree-1.1.3

- old
+ new

@@ -496,16 +496,16 @@ end it "raises an ArgumentError if customer_id is not a string" do expect do Braintree::Customer.find(Object.new) - end.to raise_error(ArgumentError, "customer_id should be a string") + end.to raise_error(ArgumentError, "customer_id contains invalid characters") end it "raises an ArgumentError if customer_id is blank" do expect do Braintree::Customer.find("") - end.to raise_error(ArgumentError, "customer_id cannot be blank") + end.to raise_error(ArgumentError, "customer_id contains invalid characters") end it "raises a NotFoundError exception if customer cannot be found" do expect do Braintree::Customer.find("invalid-id")