spec/integration/braintree/test/transaction_amounts_spec.rb in braintree-3.3.0 vs spec/integration/braintree/test/transaction_amounts_spec.rb in braintree-3.4.0
- old
+ new
@@ -6,11 +6,11 @@
transaction = Braintree::Transaction.sale!(
:amount => Braintree::Test::TransactionAmounts::Authorize,
:credit_card => {
:number => Braintree::Test::CreditCardNumbers::Visa,
:expiration_date => "12/2012"
- }
+ },
)
transaction.status.should == Braintree::Transaction::Status::Authorized
end
end
@@ -19,10 +19,10 @@
result = Braintree::Transaction.sale(
:amount => Braintree::Test::TransactionAmounts::Decline,
:credit_card => {
:number => Braintree::Test::CreditCardNumbers::Visa,
:expiration_date => "12/2012"
- }
+ },
)
result.transaction.status.should == Braintree::Transaction::Status::ProcessorDeclined
end
end
end