test/pagarme/transaction.rb in pagarme-1.7 vs test/pagarme/transaction.rb in pagarme-1.8
- old
+ new
@@ -53,9 +53,11 @@
should 'be able to create transaction with customer' do
transaction = test_transaction_with_customer
transaction.charge
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)
end
should 'be able to refund transaction with customer' do