spec/unit/braintree/transaction_spec.rb in braintree-2.28.0 vs spec/unit/braintree/transaction_spec.rb in braintree-2.29.0
- old
+ new
@@ -91,18 +91,20 @@
:disbursement_details => {
:disbursement_date => "2013-04-03",
:settlement_amount => "120.00",
:settlement_currency_iso_code => "USD",
:settlement_currency_exchange_rate => "1",
- :funds_held => false
+ :funds_held => false,
+ :success => true
}
)
disbursement = transaction.disbursement_details
disbursement.disbursement_date.should == "2013-04-03"
disbursement.settlement_amount.should == "120.00"
disbursement.settlement_currency_iso_code.should == "USD"
disbursement.settlement_currency_exchange_rate.should == "1"
- disbursement.funds_held?.should == false
+ disbursement.funds_held?.should be_false
+ disbursement.success?.should be_true
end
it "sets up credit card attributes in credit_card_details" do
transaction = Braintree::Transaction._new(
:gateway,