spec/integration/braintree/customer_spec.rb in braintree-1.2.0 vs spec/integration/braintree/customer_spec.rb in braintree-1.2.1
- old
+ new
@@ -108,10 +108,10 @@
:expiration_date => "05/2010",
:options => {:verify_card => true}
}
)
result.success?.should == false
- result.credit_card_verification.status.should == "processor_declined"
+ result.credit_card_verification.status.should == Braintree::Transaction::Status::ProcessorDeclined
end
it "can create a customer, payment method, and billing address at the same time" do
result = Braintree::Customer.create(
:first_name => "Mike",