Use Estonian reference number format instead of ISO 11649

This commit is contained in:
Artur Beljajev 2018-10-01 13:43:50 +03:00
parent aa6e8f8a93
commit 5738c17731
25 changed files with 244 additions and 47 deletions

View file

@ -36,7 +36,7 @@ describe BankStatement do
end
it 'should not bind transactions with invalid match data' do
r = create(:registrar, reference_no: 'RF7086666663')
r = create(:registrar, reference_no: '1234')
create(:account, registrar: r, account_type: 'cash', balance: 0)
@ -50,7 +50,7 @@ describe BankStatement do
}),
create(:bank_transaction, {
sum: 240.0,
reference_no: 'RF7086666663',
reference_no: '1234',
description: 'Invoice no. 4948934'
})
])