test/pagarme/transaction.rb in pagarme-1.10.0 vs test/pagarme/transaction.rb in pagarme-2.0.0

- old
+ new

@@ -51,19 +51,9 @@ test_transaction_response(transaction) transaction.refund assert transaction.status == 'refunded' end - should 'be able to search by anything' do - transaction = test_transaction_with_customer - transaction.charge - transactions = PagarMe::Transaction.find_by({'customer[document_number]' => 36433809847}, 2, 10) - assert transactions.size == 10 - transactions.each do |t| - assert t.customer.document_number == '36433809847' - end - end - should 'be able to create transaciton with boleto' do transaction = PagarMe::Transaction.new({ :payment_method => "boleto", :amount => "1000" })