spec/integration/braintree/transaction_spec.rb in braintree-2.1.0 vs spec/integration/braintree/transaction_spec.rb in braintree-2.2.0
- old
+ new
@@ -634,10 +634,10 @@
transaction.amount.should == BigDecimal.new("1000.00")
result = Braintree::Transaction.submit_for_settlement(transaction.id, "999.99")
result.success?.should == true
result.transaction.amount.should == BigDecimal.new("999.99")
result.transaction.status.should == Braintree::Transaction::Status::SubmittedForSettlement
- result.transaction.updated_at.between?(Time.now - 5, Time.now).should == true
+ result.transaction.updated_at.between?(Time.now - 60, Time.now).should == true
end
it "returns an error result if settlement is too large" do
transaction = Braintree::Transaction.sale!(
:amount => Braintree::Test::TransactionAmounts::Authorize,