test/pagarme/transaction.rb in pagarme-1.9.8 vs test/pagarme/transaction.rb in pagarme-1.9.9
- old
+ new
@@ -125,9 +125,10 @@
test_transaction_response(transaction)
assert transaction.address.class == Address
assert transaction.address.street== 'Av. Brigadeiro Faria Lima'
assert transaction.customer.class == Customer
test_customer_response(transaction.customer)
+ assert transaction.customer.email = "henrique+test@pagar.me"
end
should 'be able to refund transaction with customer' do
transaction = test_transaction_with_customer
transaction.charge