mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Use Estonian reference number format instead of ISO 11649
This commit is contained in:
parent
aa6e8f8a93
commit
5738c17731
25 changed files with 244 additions and 47 deletions
|
@ -35,7 +35,7 @@ describe BankTransaction do
|
|||
end
|
||||
|
||||
it 'should not bind transaction with mismatching sums' do
|
||||
r = create(:registrar, reference_no: 'RF7086666663')
|
||||
r = create(:registrar)
|
||||
invoice = r.issue_prepayment_invoice(200, 'add some money')
|
||||
|
||||
bt = create(:bank_transaction, { sum: 10 })
|
||||
|
@ -45,7 +45,7 @@ describe BankTransaction do
|
|||
end
|
||||
|
||||
it 'should not bind transaction with cancelled invoice' do
|
||||
r = create(:registrar, reference_no: 'RF7086666663')
|
||||
r = create(:registrar)
|
||||
invoice = r.issue_prepayment_invoice(200, 'add some money')
|
||||
invoice.cancel
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue