mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
parent
19f9a4eb71
commit
62c38d1f99
29 changed files with 660 additions and 16 deletions
|
@ -176,6 +176,12 @@ class RegistrarTest < ActiveSupport::TestCase
|
|||
assert_equal vat_country, registrar.vat_country
|
||||
end
|
||||
|
||||
def test_returns_iban_for_e_invoice_delivery_channel
|
||||
iban = 'GB33BUKB20201555555555'
|
||||
registrar = Registrar.new(iban: iban)
|
||||
assert_equal iban, registrar.e_invoice_iban
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def valid_registrar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue