test/pagarme/resources/bank_account_test.rb in pagarme-2.1.3 vs test/pagarme/resources/bank_account_test.rb in pagarme-2.1.4
- old
+ new
@@ -16,14 +16,14 @@
assert_equal bank_account.bank_code, '237'
end
end
{
- bank_code: 'foo',
- agencia: 'abcd',
- agencia_dv: 'Y',
- conta: 'ABCD',
- conta_dv: 'X',
+ bank_code: '123',
+ agencia: '1234',
+ agencia_dv: '1',
+ conta: '4444',
+ conta_dv: '1',
legal_name: 'John Doe',
document_number: '02476585700'
}.each do |key, value|
should "validate bank_account - #{key}" do
exception = assert_raises(PagarMe::ValidationError){ BankAccount.create key => value }