test/pagarme/transaction.rb in pagarme-1.9.4 vs test/pagarme/transaction.rb in pagarme-1.9.5
- old
+ new
@@ -80,16 +80,9 @@
transaction.refund
assert transaction.status == 'refunded'
end
- should 'should allow transactions with R$ amount' do
- transaction = test_transaction
- transaction.amount = 'R$ 10.00'
- transaction.charge
- assert transaction.amount == 1000
- end
-
should 'validate invalid transaction' do
#Test invalid card_number
exception = assert_raises PagarMeError do
transaction = PagarMe::Transaction.new({