test/test_helper.rb in pagarme-1.9.7 vs test/test_helper.rb in pagarme-1.9.8

- old
+ new

@@ -45,9 +45,20 @@ :days => 30, :amount => 3000, }.merge(params)) end +def test_bank_account(params = {}) + return PagarMe::BankAccount.new({ + :bank_code => '237', + :agencia => '1935', + :agencia_dv => '9', + :conta => '23398', + :conta_dv => '9', + :legal_name => 'foo bar loem', + :document_number => '111.111.111-11' + }.merge(params)) +end def test_subscription(params = {}) return PagarMe::Subscription.new({ :payment_method => 'credit_card', :card_number => "4901720080344448",