ibandit 0.11.17 → 0.11.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/config/locales/da.yml +12 -0
- data/config/locales/de.yml +10 -10
- data/config/locales/es.yml +7 -7
- data/config/locales/fr.yml +10 -10
- data/config/locales/it.yml +8 -8
- data/config/locales/nb.yml +12 -0
- data/config/locales/pt.yml +7 -7
- data/config/locales/sl.yml +12 -0
- data/config/locales/sv.yml +12 -0
- data/lib/ibandit/version.rb +1 -1
- data/spec/ibandit/iban_spec.rb +600 -99
- data/spec/spec_helper.rb +16 -0
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 681cc7c463a9465cdc62bff2314b751318613dfa
|
4
|
+
data.tar.gz: 4a8b95e46e1bfa8c2f5be42b1d868b191fd3e189
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e56290b46969a74e25558b7645ae83d3ff1e2b7fc37a2db95ad7b91b22c5b58d8b98837db5a60b7a871f97cc49ec286db4b1c2e75208c920d8dce7d8ebae70d1
|
7
|
+
data.tar.gz: abcdec76c9a7c3395539236e6c6f2fc6d702fed76ae4bcf01aa3cecea6c024e1bb0c4987c38395a2bf9dec4b7400f1efd6d15a343389a4bf12451d4fae584243
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 0.11.18 - October 9, 2018
|
2
|
+
|
3
|
+
- Improve existing error message translations and add support for
|
4
|
+
four new languages: Norwegian, Swedish, Danish and Slovenian.
|
5
|
+
|
1
6
|
## 0.11.17 - September 17, 2018
|
2
7
|
|
3
8
|
- Do not crash when given too short account numbers for New Zealand
|
@@ -0,0 +1,12 @@
|
|
1
|
+
da:
|
2
|
+
ibandit:
|
3
|
+
invalid_country_code: "'%{country_code}' er ikke en gyldig ISO 3166-1-IBAN-landekode"
|
4
|
+
invalid_check_digits: "Kontrolcifre bestod ikke modulustjek. Forventede '%{expected_check_digits}'; modtog '%{check_digits}'."
|
5
|
+
invalid_length: "Længden modsvarer ikke SWIFT-specifikation (forventede %{expected_length} tegn, modtog %{length})"
|
6
|
+
is_required: "er påkrævet"
|
7
|
+
wrong_length: "har forkert længde (skulle være %{expected} tegn)"
|
8
|
+
not_used_in_country: "benyttes ikke i %{country_code}"
|
9
|
+
non_alphanumeric_characters: "Ikke-alfanumeriske tegn registreret: %{characters}"
|
10
|
+
invalid_format: "Uventet format for en IBAN fra %{country_code}."
|
11
|
+
is_invalid: "er ugyldig"
|
12
|
+
does_not_support_payments: "understøtter ikke betalinger"
|
data/config/locales/de.yml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
de:
|
2
2
|
ibandit:
|
3
|
-
invalid_country_code: "'%{country_code}' ist
|
4
|
-
invalid_check_digits: "
|
5
|
-
invalid_length: "
|
6
|
-
is_required:
|
7
|
-
wrong_length:
|
8
|
-
not_used_in_country: "wird
|
9
|
-
non_alphanumeric_characters: "Nicht-
|
10
|
-
invalid_format: "Unerwartetes Format für eine %{country_code}
|
11
|
-
is_invalid:
|
12
|
-
does_not_support_payments: "
|
3
|
+
invalid_country_code: "'%{country_code}' ist kein gültiges IBAN-Länderkennzeichen gemäß ISO 3166-1"
|
4
|
+
invalid_check_digits: "Prüfziffer hat Betragsprüfung nicht bestanden. (%{expected_check_digits} Zeichen erwartet, %{check_digits} angegeben)."
|
5
|
+
invalid_length: "Länge entspricht nicht der SWIFT-Spezifikation (%{expected_length} Zeichen erwartet, %{length} angegeben)"
|
6
|
+
is_required: "ist erforderlich"
|
7
|
+
wrong_length: "hat nicht die richtige Länge (sollte %{expected} Zeichen haben)"
|
8
|
+
not_used_in_country: "wird nicht für %{country_code} verwendet"
|
9
|
+
non_alphanumeric_characters: "Nicht-alphanumerischen Zeichen gefunden: %{characters}"
|
10
|
+
invalid_format: "Unerwartetes Format für eine %{country_code}-IBAN."
|
11
|
+
is_invalid: "ist ungültig"
|
12
|
+
does_not_support_payments: "unterstützt keine Zahlungen"
|
data/config/locales/es.yml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
es:
|
2
2
|
ibandit:
|
3
|
-
invalid_country_code: "
|
4
|
-
invalid_check_digits: "Los dígitos de
|
5
|
-
invalid_length: "La longitud no
|
3
|
+
invalid_country_code: "\"%{country_code}\" no es un código de país IBAN ISO 3166-1 válido"
|
4
|
+
invalid_check_digits: "Los dígitos de verificación han generado un error en la comprobación del módulo. Se esperaba \"%{expected_check_digits}\", pero se ha recibido \"%{check_digits}\"."
|
5
|
+
invalid_length: "La longitud no coincide con la especificación SWIFT (se esperaban %{expected_length} caracteres, pero se han recibido %{length})"
|
6
6
|
is_required: "es obligatorio"
|
7
|
-
wrong_length: "tiene la longitud
|
8
|
-
not_used_in_country: "
|
9
|
-
non_alphanumeric_characters: "Se han
|
7
|
+
wrong_length: "no tiene la longitud correcta (debe tener %{expected} caracteres)"
|
8
|
+
not_used_in_country: "no se utiliza en %{country_code}"
|
9
|
+
non_alphanumeric_characters: "Se han encontrado caracteres no alfanuméricos: %{characters}"
|
10
10
|
invalid_format: "Formato inesperado para un IBAN de %{country_code}."
|
11
|
-
is_invalid: "es
|
11
|
+
is_invalid: "no es válido"
|
12
12
|
does_not_support_payments: "no admite pagos"
|
data/config/locales/fr.yml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
fr:
|
2
2
|
ibandit:
|
3
|
-
invalid_country_code: "'%{country_code} n'est pas
|
4
|
-
invalid_check_digits: "Les chiffres de
|
5
|
-
invalid_length: "La longueur ne correspond pas
|
6
|
-
is_required: "est
|
7
|
-
wrong_length: "
|
8
|
-
not_used_in_country: "n'est pas utilisé
|
9
|
-
non_alphanumeric_characters: "Caractères non alphanumériques
|
10
|
-
invalid_format: "Format
|
11
|
-
is_invalid: "est
|
12
|
-
does_not_support_payments: "ne
|
3
|
+
invalid_country_code: "'%{country_code}' n'est pas un code pays d'IBAN ISO 3166-1 valide"
|
4
|
+
invalid_check_digits: "Les chiffres de contrôle n'ont pas satisfait au contrôle de validité. Attendus '%{expected_check_digits}', reçus '%{check_digits}'."
|
5
|
+
invalid_length: "La longueur ne correspond pas à la spécification SWIFT (%{expected_length} caractères attendus, %{length} reçus)"
|
6
|
+
is_required: "est obligatoire"
|
7
|
+
wrong_length: "est une longueur incorrecte (doit contenir %{expected} caractères)"
|
8
|
+
not_used_in_country: "n'est pas utilisé dans %{country_code}"
|
9
|
+
non_alphanumeric_characters: "Caractères non alphanumériques trouvés : %{characters}"
|
10
|
+
invalid_format: "Format non attendu pour un IBAN %{country_code}."
|
11
|
+
is_invalid: "n'est pas valide"
|
12
|
+
does_not_support_payments: "ne prend pas en charge les paiements"
|
data/config/locales/it.yml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
it:
|
2
2
|
ibandit:
|
3
|
-
invalid_country_code: "
|
4
|
-
invalid_check_digits: "
|
5
|
-
invalid_length: "La lunghezza non corrisponde
|
3
|
+
invalid_country_code: "\"%{country_code}\" non è un codice di paese IBAN 3166-1 valido"
|
4
|
+
invalid_check_digits: "Controllo del modulo non riuscito per i caratteri. %{expected_check_digits} caratteri previsti, %{check_digits} immessi."
|
5
|
+
invalid_length: "La lunghezza non corrisponde alla specifica SWIFT (%{expected_length} caratteri previsti, %{length} immessi)"
|
6
6
|
is_required: "è obbligatorio"
|
7
|
-
wrong_length: "
|
8
|
-
not_used_in_country: "non è
|
9
|
-
non_alphanumeric_characters: "
|
10
|
-
invalid_format: "Formato
|
7
|
+
wrong_length: "non ha la lunghezza richiesta (deve essere di %{expected} caratteri)"
|
8
|
+
not_used_in_country: "non è utilizzato in %{country_code}"
|
9
|
+
non_alphanumeric_characters: "Caratteri non alfanumerici trovati: %{characters}"
|
10
|
+
invalid_format: "Formato imprevisto per un IBAN %{country_code}."
|
11
11
|
is_invalid: "non è valido"
|
12
|
-
does_not_support_payments: "non supporta pagamenti"
|
12
|
+
does_not_support_payments: "non supporta i pagamenti"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
nb:
|
2
|
+
ibandit:
|
3
|
+
invalid_country_code: "'%{country_code}' er ikke en gyldig IBAN-landskode iht. ISO 3166-1"
|
4
|
+
invalid_check_digits: "Tallkontrollen mislyktes i moduluskontrollen. Forventet '%{expected_check_digits}', mottok '%{check_digits}'."
|
5
|
+
invalid_length: "Lengden samsvarer ikke med SWIFT-spesifikasjonene (forventet %{expected_length} tegn, mottok %{length})"
|
6
|
+
is_required: "er påkrevd"
|
7
|
+
wrong_length: "har feil lengde (skal være %{expected} tegn)"
|
8
|
+
not_used_in_country: "brukes ikke i %{country_code}"
|
9
|
+
non_alphanumeric_characters: "Ikke-alfanumeriske tegn funnet: %{characters}"
|
10
|
+
invalid_format: "Uventet format for IBAN for %{country_code}."
|
11
|
+
is_invalid: "er ikke gyldig"
|
12
|
+
does_not_support_payments: "støtter ikke betalinger"
|
data/config/locales/pt.yml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
pt:
|
2
2
|
ibandit:
|
3
|
-
invalid_country_code: "'%{country_code}' não
|
4
|
-
invalid_check_digits: "
|
5
|
-
invalid_length: "O
|
6
|
-
is_required: "é
|
7
|
-
wrong_length: "tem o
|
8
|
-
not_used_in_country: "não é
|
3
|
+
invalid_country_code: "'%{country_code}' não corresponde a um código de país do IBAN válido segundo a norma ISO 3166-1"
|
4
|
+
invalid_check_digits: "Verifique os dígitos. A verificação do módulo falhou. '%{expected_check_digits}' esperados, '%{check_digits}' recebidos."
|
5
|
+
invalid_length: "O comprimento não corresponde à especificação do código SWIFT (%{expected_length} caracteres esperados, %{length} recebidos)"
|
6
|
+
is_required: "é obrigatório"
|
7
|
+
wrong_length: "não tem o comprimento correto (deve ter %{expected} caracteres)"
|
8
|
+
not_used_in_country: "não é utilizado no %{country_code}"
|
9
9
|
non_alphanumeric_characters: "Caracteres não alfanuméricos encontrados: %{characters}"
|
10
|
-
invalid_format: "Formato
|
10
|
+
invalid_format: "Formato inesperado para um IBAN %{country_code}."
|
11
11
|
is_invalid: "é inválido"
|
12
12
|
does_not_support_payments: "não suporta pagamentos"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
sl:
|
2
|
+
ibandit:
|
3
|
+
invalid_country_code: "'%{country_code}' ni veljavna koda države v IBAN po standardu ISO 3166-1"
|
4
|
+
invalid_check_digits: "Številke čeka niso uspešno prestale preverjanja modula. Pričakovano '%{expected_check_digits}', prejeto '%{check_digits}'."
|
5
|
+
invalid_length: "Dolžina se ne ujema z opredelitvijo za kodo SWIFT (pričakovani znaki: %{expected_length}, prejeti znaki: %{length})"
|
6
|
+
is_required: "je obvezno"
|
7
|
+
wrong_length: "je napačne dolžine (biti mora %{expected} znakov)"
|
8
|
+
not_used_in_country: "se ne uporablja v %{country_code}"
|
9
|
+
non_alphanumeric_characters: "Najdeni ne-alfanumerični znaki: %{characters}"
|
10
|
+
invalid_format: "Nepričakovana oblika zapisa %{country_code} v IBAN."
|
11
|
+
is_invalid: "ni veljavno"
|
12
|
+
does_not_support_payments: "ne podpira plačil"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
sv:
|
2
|
+
ibandit:
|
3
|
+
invalid_country_code: "'%{country_code}' är inte en giltig ISO 3166-1 IBAN landskod"
|
4
|
+
invalid_check_digits: "Kontrollera felaktiga siffror med modulkontroll. Förväntade '%{expected_check_digits}', mottagna '%{check_digits}'."
|
5
|
+
invalid_length: "Längd matchar inte förväntad SWIFT-specifikation (förväntade %{expected_length} tecken, mottagna %{length})"
|
6
|
+
is_required: "krävs"
|
7
|
+
wrong_length: "har fel längd (bör vara %{expected} tecken)"
|
8
|
+
not_used_in_country: "används inte i %{country_code}"
|
9
|
+
non_alphanumeric_characters: "Icke alfanumeriska tecken hittades: %{characters}"
|
10
|
+
invalid_format: "Oväntat format för %{country_code} IBAN."
|
11
|
+
is_invalid: "är ogiltig"
|
12
|
+
does_not_support_payments: "stödjer inte betalningar"
|
data/lib/ibandit/version.rb
CHANGED
data/spec/ibandit/iban_spec.rb
CHANGED
@@ -534,8 +534,8 @@ describe Ibandit::IBAN do
|
|
534
534
|
it "sets errors on the IBAN" do
|
535
535
|
iban.valid_country_code?
|
536
536
|
expect(iban.errors).
|
537
|
-
to include(country_code: "'AA' ist
|
538
|
-
"
|
537
|
+
to include(country_code: "'AA' ist kein gültiges " \
|
538
|
+
"IBAN-Länderkennzeichen gemäß ISO 3166-1")
|
539
539
|
end
|
540
540
|
end
|
541
541
|
|
@@ -543,8 +543,9 @@ describe Ibandit::IBAN do
|
|
543
543
|
it "sets errors on the IBAN" do
|
544
544
|
iban.valid_country_code?
|
545
545
|
expect(iban.errors).
|
546
|
-
to include(country_code: "'AA' não
|
547
|
-
"país segundo
|
546
|
+
to include(country_code: "'AA' não corresponde a um código de " \
|
547
|
+
"país do IBAN válido segundo a norma " \
|
548
|
+
"ISO 3166-1")
|
548
549
|
end
|
549
550
|
end
|
550
551
|
|
@@ -589,9 +590,9 @@ describe Ibandit::IBAN do
|
|
589
590
|
it "sets errors on the IBAN" do
|
590
591
|
iban.valid_check_digits?
|
591
592
|
expect(iban.errors).
|
592
|
-
to include(check_digits: "Les chiffres de
|
593
|
-
"
|
594
|
-
"
|
593
|
+
to include(check_digits: "Les chiffres de contrôle n'ont pas " \
|
594
|
+
"satisfait au contrôle de validité. " \
|
595
|
+
"Attendus '82', reçus '12'.")
|
595
596
|
end
|
596
597
|
end
|
597
598
|
|
@@ -599,9 +600,9 @@ describe Ibandit::IBAN do
|
|
599
600
|
it "sets errors on the IBAN" do
|
600
601
|
iban.valid_check_digits?
|
601
602
|
expect(iban.errors).
|
602
|
-
to include(check_digits: "
|
603
|
-
"
|
604
|
-
"
|
603
|
+
to include(check_digits: "Prüfziffer hat Betragsprüfung nicht " \
|
604
|
+
"bestanden. (82 Zeichen erwartet, 12 " \
|
605
|
+
"angegeben).")
|
605
606
|
end
|
606
607
|
end
|
607
608
|
|
@@ -609,9 +610,9 @@ describe Ibandit::IBAN do
|
|
609
610
|
it "sets errors on the IBAN" do
|
610
611
|
iban.valid_check_digits?
|
611
612
|
expect(iban.errors).
|
612
|
-
to include(check_digits: "
|
613
|
-
"
|
614
|
-
"recebidos
|
613
|
+
to include(check_digits: "Verifique os dígitos. A verificação " \
|
614
|
+
"do módulo falhou. '82' esperados, '12'" \
|
615
|
+
" recebidos.")
|
615
616
|
end
|
616
617
|
end
|
617
618
|
|
@@ -619,9 +620,10 @@ describe Ibandit::IBAN do
|
|
619
620
|
it "sets errors on the IBAN" do
|
620
621
|
iban.valid_check_digits?
|
621
622
|
expect(iban.errors).
|
622
|
-
to include(check_digits: "Los dígitos de
|
623
|
-
"
|
624
|
-
"esperaba
|
623
|
+
to include(check_digits: "Los dígitos de verificación han " \
|
624
|
+
"generado un error en la comprobación " \
|
625
|
+
"del módulo. Se esperaba \"82\", pero " \
|
626
|
+
"se ha recibido \"12\".")
|
625
627
|
end
|
626
628
|
end
|
627
629
|
|
@@ -629,9 +631,9 @@ describe Ibandit::IBAN do
|
|
629
631
|
it "sets errors on the IBAN" do
|
630
632
|
iban.valid_check_digits?
|
631
633
|
expect(iban.errors).
|
632
|
-
to include(check_digits: "
|
633
|
-
"
|
634
|
-
"
|
634
|
+
to include(check_digits: "Controllo del modulo non riuscito per " \
|
635
|
+
"i caratteri. 82 caratteri previsti, 12 " \
|
636
|
+
"immessi.")
|
635
637
|
end
|
636
638
|
end
|
637
639
|
|
@@ -643,6 +645,45 @@ describe Ibandit::IBAN do
|
|
643
645
|
"Verwachte '82', ontvangen '12'.")
|
644
646
|
end
|
645
647
|
end
|
648
|
+
|
649
|
+
context "locale nb", locale: :nb do
|
650
|
+
it "sets errors on the IBAN" do
|
651
|
+
iban.valid_check_digits?
|
652
|
+
expect(iban.errors).
|
653
|
+
to include(check_digits: "Tallkontrollen mislyktes i " \
|
654
|
+
"moduluskontrollen. Forventet '82'" \
|
655
|
+
", mottok '12'.")
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
context "locale sl", locale: :sl do
|
660
|
+
it "sets errors on the IBAN" do
|
661
|
+
iban.valid_check_digits?
|
662
|
+
expect(iban.errors).
|
663
|
+
to include(check_digits: "Številke čeka niso uspešno prestale " \
|
664
|
+
"preverjanja modula. Pričakovano '82', " \
|
665
|
+
"prejeto '12'.")
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
context "locale da", locale: :da do
|
670
|
+
it "sets errors on the IBAN" do
|
671
|
+
iban.valid_check_digits?
|
672
|
+
expect(iban.errors).
|
673
|
+
to include(check_digits: "Kontrolcifre bestod ikke modulustjek. " \
|
674
|
+
"Forventede '82'; modtog '12'.")
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
678
|
+
context "locale sv", locale: :sv do
|
679
|
+
it "sets errors on the IBAN" do
|
680
|
+
iban.valid_check_digits?
|
681
|
+
expect(iban.errors).
|
682
|
+
to include(check_digits: "Kontrollera felaktiga siffror med " \
|
683
|
+
"modulkontroll. Förväntade '82', " \
|
684
|
+
"mottagna '12'.")
|
685
|
+
end
|
686
|
+
end
|
646
687
|
end
|
647
688
|
|
648
689
|
context "with invalid characters" do
|
@@ -690,9 +731,9 @@ describe Ibandit::IBAN do
|
|
690
731
|
it "sets errors on the IBAN" do
|
691
732
|
iban.valid_length?
|
692
733
|
expect(iban.errors).
|
693
|
-
to include(length: "La longueur ne correspond pas
|
694
|
-
"
|
695
|
-
"
|
734
|
+
to include(length: "La longueur ne correspond pas à la " \
|
735
|
+
"spécification SWIFT (22 caractères attendus," \
|
736
|
+
" 20 reçus)")
|
696
737
|
end
|
697
738
|
end
|
698
739
|
|
@@ -700,9 +741,9 @@ describe Ibandit::IBAN do
|
|
700
741
|
it "sets errors on the IBAN" do
|
701
742
|
iban.valid_length?
|
702
743
|
expect(iban.errors).
|
703
|
-
to include(length: "
|
704
|
-
"Spezifikation
|
705
|
-
"
|
744
|
+
to include(length: "Länge entspricht nicht der " \
|
745
|
+
"SWIFT-Spezifikation (22 Zeichen erwartet, " \
|
746
|
+
"20 angegeben)")
|
706
747
|
end
|
707
748
|
end
|
708
749
|
|
@@ -710,8 +751,9 @@ describe Ibandit::IBAN do
|
|
710
751
|
it "sets errors on the IBAN" do
|
711
752
|
iban.valid_length?
|
712
753
|
expect(iban.errors).
|
713
|
-
to include(length: "O
|
714
|
-
"SWIFT (
|
754
|
+
to include(length: "O comprimento não corresponde à especificação" \
|
755
|
+
" do código SWIFT (22 caracteres esperados, 20" \
|
756
|
+
" recebidos)")
|
715
757
|
end
|
716
758
|
end
|
717
759
|
|
@@ -719,9 +761,9 @@ describe Ibandit::IBAN do
|
|
719
761
|
it "sets errors on the IBAN" do
|
720
762
|
iban.valid_length?
|
721
763
|
expect(iban.errors).
|
722
|
-
to include(length: "La longitud no
|
723
|
-
"
|
724
|
-
"
|
764
|
+
to include(length: "La longitud no coincide con la especificación" \
|
765
|
+
" SWIFT (se esperaban 22 caracteres, pero se " \
|
766
|
+
"han recibido 20)")
|
725
767
|
end
|
726
768
|
end
|
727
769
|
|
@@ -729,8 +771,8 @@ describe Ibandit::IBAN do
|
|
729
771
|
it "sets errors on the IBAN" do
|
730
772
|
iban.valid_length?
|
731
773
|
expect(iban.errors).
|
732
|
-
to include(length: "La lunghezza non corrisponde
|
733
|
-
"SWIFT (
|
774
|
+
to include(length: "La lunghezza non corrisponde alla specifica " \
|
775
|
+
"SWIFT (22 caratteri previsti, 20 immessi)")
|
734
776
|
end
|
735
777
|
end
|
736
778
|
|
@@ -743,6 +785,45 @@ describe Ibandit::IBAN do
|
|
743
785
|
"ontvangen 20)")
|
744
786
|
end
|
745
787
|
end
|
788
|
+
|
789
|
+
context "locale nb", locale: :nb do
|
790
|
+
it "sets errors on the IBAN" do
|
791
|
+
iban.valid_length?
|
792
|
+
expect(iban.errors).
|
793
|
+
to include(length: "Lengden samsvarer ikke med " \
|
794
|
+
"SWIFT-spesifikasjonene (forventet 22 tegn, " \
|
795
|
+
"mottok 20)")
|
796
|
+
end
|
797
|
+
end
|
798
|
+
|
799
|
+
context "locale sl", locale: :sl do
|
800
|
+
it "sets errors on the IBAN" do
|
801
|
+
iban.valid_length?
|
802
|
+
expect(iban.errors).
|
803
|
+
to include(length: "Dolžina se ne ujema z opredelitvijo za " \
|
804
|
+
"kodo SWIFT (pričakovani znaki: 22, " \
|
805
|
+
"prejeti znaki: 20)")
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
809
|
+
context "locale da", locale: :da do
|
810
|
+
it "sets errors on the IBAN" do
|
811
|
+
iban.valid_length?
|
812
|
+
expect(iban.errors).
|
813
|
+
to include(length: "Længden modsvarer ikke SWIFT-specifikation" \
|
814
|
+
" (forventede 22 tegn, modtog 20)")
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
context "locale sv", locale: :sv do
|
819
|
+
it "sets errors on the IBAN" do
|
820
|
+
iban.valid_length?
|
821
|
+
expect(iban.errors).
|
822
|
+
to include(length: "Längd matchar inte förväntad " \
|
823
|
+
"SWIFT-specifikation (förväntade 22 tecken, " \
|
824
|
+
"mottagna 20)")
|
825
|
+
end
|
826
|
+
end
|
746
827
|
end
|
747
828
|
|
748
829
|
context "with an invalid country_code" do
|
@@ -780,8 +861,8 @@ describe Ibandit::IBAN do
|
|
780
861
|
it "sets errors on the IBAN" do
|
781
862
|
iban.valid_bank_code_length?
|
782
863
|
expect(iban.errors).
|
783
|
-
to include(bank_code: "
|
784
|
-
"caractères)")
|
864
|
+
to include(bank_code: "est une longueur incorrecte (doit " \
|
865
|
+
"contenir 4 caractères)")
|
785
866
|
end
|
786
867
|
end
|
787
868
|
|
@@ -789,8 +870,8 @@ describe Ibandit::IBAN do
|
|
789
870
|
it "sets errors on the IBAN" do
|
790
871
|
iban.valid_bank_code_length?
|
791
872
|
expect(iban.errors).
|
792
|
-
to include(bank_code: "hat die
|
793
|
-
"Zeichen haben)")
|
873
|
+
to include(bank_code: "hat nicht die richtige Länge (sollte " \
|
874
|
+
"4 Zeichen haben)")
|
794
875
|
end
|
795
876
|
end
|
796
877
|
|
@@ -798,8 +879,8 @@ describe Ibandit::IBAN do
|
|
798
879
|
it "sets errors on the IBAN" do
|
799
880
|
iban.valid_bank_code_length?
|
800
881
|
expect(iban.errors).
|
801
|
-
to include(bank_code: "tem o
|
802
|
-
"caracteres)")
|
882
|
+
to include(bank_code: "não tem o comprimento correto (deve " \
|
883
|
+
"ter 4 caracteres)")
|
803
884
|
end
|
804
885
|
end
|
805
886
|
|
@@ -807,8 +888,8 @@ describe Ibandit::IBAN do
|
|
807
888
|
it "sets errors on the IBAN" do
|
808
889
|
iban.valid_bank_code_length?
|
809
890
|
expect(iban.errors).
|
810
|
-
to include(bank_code: "tiene la longitud
|
811
|
-
"
|
891
|
+
to include(bank_code: "no tiene la longitud correcta (debe " \
|
892
|
+
"tener 4 caracteres)")
|
812
893
|
end
|
813
894
|
end
|
814
895
|
|
@@ -816,7 +897,7 @@ describe Ibandit::IBAN do
|
|
816
897
|
it "sets errors on the IBAN" do
|
817
898
|
iban.valid_bank_code_length?
|
818
899
|
expect(iban.errors).
|
819
|
-
to include(bank_code: "
|
900
|
+
to include(bank_code: "non ha la lunghezza richiesta (deve " \
|
820
901
|
"essere di 4 caratteri)")
|
821
902
|
end
|
822
903
|
end
|
@@ -829,6 +910,38 @@ describe Ibandit::IBAN do
|
|
829
910
|
"lang zijn)")
|
830
911
|
end
|
831
912
|
end
|
913
|
+
|
914
|
+
context "locale nb", locale: :nb do
|
915
|
+
it "sets errors on the IBAN" do
|
916
|
+
iban.valid_bank_code_length?
|
917
|
+
expect(iban.errors).
|
918
|
+
to include(bank_code: "har feil lengde (skal være 4 tegn)")
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
922
|
+
context "locale sl", locale: :sl do
|
923
|
+
it "sets errors on the IBAN" do
|
924
|
+
iban.valid_bank_code_length?
|
925
|
+
expect(iban.errors).
|
926
|
+
to include(bank_code: "je napačne dolžine (biti mora 4 znakov)")
|
927
|
+
end
|
928
|
+
end
|
929
|
+
|
930
|
+
context "locale da", locale: :da do
|
931
|
+
it "sets errors on the IBAN" do
|
932
|
+
iban.valid_bank_code_length?
|
933
|
+
expect(iban.errors).
|
934
|
+
to include(bank_code: "har forkert længde (skulle være 4 tegn)")
|
935
|
+
end
|
936
|
+
end
|
937
|
+
|
938
|
+
context "locale sv", locale: :sv do
|
939
|
+
it "sets errors on the IBAN" do
|
940
|
+
iban.valid_bank_code_length?
|
941
|
+
expect(iban.errors).
|
942
|
+
to include(bank_code: "har fel längd (bör vara 4 tecken)")
|
943
|
+
end
|
944
|
+
end
|
832
945
|
end
|
833
946
|
|
834
947
|
context "with an invalid country_code" do
|
@@ -866,8 +979,8 @@ describe Ibandit::IBAN do
|
|
866
979
|
it "sets errors on the IBAN" do
|
867
980
|
iban.valid_branch_code_length?
|
868
981
|
expect(iban.errors).
|
869
|
-
to include(branch_code: "
|
870
|
-
"caractères)")
|
982
|
+
to include(branch_code: "est une longueur incorrecte (doit " \
|
983
|
+
"contenir 6 caractères)")
|
871
984
|
end
|
872
985
|
end
|
873
986
|
|
@@ -875,8 +988,8 @@ describe Ibandit::IBAN do
|
|
875
988
|
it "sets errors on the IBAN" do
|
876
989
|
iban.valid_branch_code_length?
|
877
990
|
expect(iban.errors).
|
878
|
-
to include(branch_code: "hat die
|
879
|
-
"Zeichen haben)")
|
991
|
+
to include(branch_code: "hat nicht die richtige Länge (sollte " \
|
992
|
+
"6 Zeichen haben)")
|
880
993
|
end
|
881
994
|
end
|
882
995
|
|
@@ -884,8 +997,8 @@ describe Ibandit::IBAN do
|
|
884
997
|
it "sets errors on the IBAN" do
|
885
998
|
iban.valid_branch_code_length?
|
886
999
|
expect(iban.errors).
|
887
|
-
to include(branch_code: "tem o
|
888
|
-
"caracteres)")
|
1000
|
+
to include(branch_code: "não tem o comprimento correto (deve " \
|
1001
|
+
"ter 6 caracteres)")
|
889
1002
|
end
|
890
1003
|
end
|
891
1004
|
|
@@ -893,8 +1006,8 @@ describe Ibandit::IBAN do
|
|
893
1006
|
it "sets errors on the IBAN" do
|
894
1007
|
iban.valid_branch_code_length?
|
895
1008
|
expect(iban.errors).
|
896
|
-
to include(branch_code: "tiene la longitud
|
897
|
-
"
|
1009
|
+
to include(branch_code: "no tiene la longitud correcta (debe " \
|
1010
|
+
"tener 6 caracteres)")
|
898
1011
|
end
|
899
1012
|
end
|
900
1013
|
|
@@ -902,7 +1015,7 @@ describe Ibandit::IBAN do
|
|
902
1015
|
it "sets errors on the IBAN" do
|
903
1016
|
iban.valid_branch_code_length?
|
904
1017
|
expect(iban.errors).
|
905
|
-
to include(branch_code: "
|
1018
|
+
to include(branch_code: "non ha la lunghezza richiesta (deve " \
|
906
1019
|
"essere di 6 caratteri)")
|
907
1020
|
end
|
908
1021
|
end
|
@@ -915,6 +1028,38 @@ describe Ibandit::IBAN do
|
|
915
1028
|
"lang zijn)")
|
916
1029
|
end
|
917
1030
|
end
|
1031
|
+
|
1032
|
+
context "locale nb", locale: :nb do
|
1033
|
+
it "sets errors on the IBAN" do
|
1034
|
+
iban.valid_branch_code_length?
|
1035
|
+
expect(iban.errors).
|
1036
|
+
to include(branch_code: "har feil lengde (skal være 6 tegn)")
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
context "locale sl", locale: :sl do
|
1041
|
+
it "sets errors on the IBAN" do
|
1042
|
+
iban.valid_branch_code_length?
|
1043
|
+
expect(iban.errors).
|
1044
|
+
to include(branch_code: "je napačne dolžine (biti mora 6 znakov)")
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
context "locale da", locale: :da do
|
1049
|
+
it "sets errors on the IBAN" do
|
1050
|
+
iban.valid_branch_code_length?
|
1051
|
+
expect(iban.errors).
|
1052
|
+
to include(branch_code: "har forkert længde (skulle være 6 tegn)")
|
1053
|
+
end
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
context "locale sv", locale: :sv do
|
1057
|
+
it "sets errors on the IBAN" do
|
1058
|
+
iban.valid_branch_code_length?
|
1059
|
+
expect(iban.errors).
|
1060
|
+
to include(branch_code: "har fel längd (bör vara 6 tecken)")
|
1061
|
+
end
|
1062
|
+
end
|
918
1063
|
end
|
919
1064
|
|
920
1065
|
context "without a branch code" do
|
@@ -931,21 +1076,21 @@ describe Ibandit::IBAN do
|
|
931
1076
|
context "locale fr", locale: :fr do
|
932
1077
|
it "sets errors on the IBAN" do
|
933
1078
|
iban.valid_branch_code_length?
|
934
|
-
expect(iban.errors).to include(branch_code: "est
|
1079
|
+
expect(iban.errors).to include(branch_code: "est obligatoire")
|
935
1080
|
end
|
936
1081
|
end
|
937
1082
|
|
938
1083
|
context "locale de", locale: :de do
|
939
1084
|
it "sets errors on the IBAN" do
|
940
1085
|
iban.valid_branch_code_length?
|
941
|
-
expect(iban.errors).to include(branch_code: "
|
1086
|
+
expect(iban.errors).to include(branch_code: "ist erforderlich")
|
942
1087
|
end
|
943
1088
|
end
|
944
1089
|
|
945
1090
|
context "locale pt", locale: :pt do
|
946
1091
|
it "sets errors on the IBAN" do
|
947
1092
|
iban.valid_branch_code_length?
|
948
|
-
expect(iban.errors).to include(branch_code: "é
|
1093
|
+
expect(iban.errors).to include(branch_code: "é obrigatório")
|
949
1094
|
end
|
950
1095
|
end
|
951
1096
|
|
@@ -969,6 +1114,34 @@ describe Ibandit::IBAN do
|
|
969
1114
|
expect(iban.errors).to include(branch_code: "moet opgegeven zijn")
|
970
1115
|
end
|
971
1116
|
end
|
1117
|
+
|
1118
|
+
context "locale nb", locale: :nb do
|
1119
|
+
it "sets errors on the IBAN" do
|
1120
|
+
iban.valid_branch_code_length?
|
1121
|
+
expect(iban.errors).to include(branch_code: "er påkrevd")
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
context "locale sl", locale: :sl do
|
1126
|
+
it "sets errors on the IBAN" do
|
1127
|
+
iban.valid_branch_code_length?
|
1128
|
+
expect(iban.errors).to include(branch_code: "je obvezno")
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
context "locale da", locale: :da do
|
1133
|
+
it "sets errors on the IBAN" do
|
1134
|
+
iban.valid_branch_code_length?
|
1135
|
+
expect(iban.errors).to include(branch_code: "er påkrævet")
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
context "locale sv", locale: :sv do
|
1140
|
+
it "sets errors on the IBAN" do
|
1141
|
+
iban.valid_branch_code_length?
|
1142
|
+
expect(iban.errors).to include(branch_code: "krävs")
|
1143
|
+
end
|
1144
|
+
end
|
972
1145
|
end
|
973
1146
|
|
974
1147
|
context "with an invalid country_code" do
|
@@ -1008,8 +1181,8 @@ describe Ibandit::IBAN do
|
|
1008
1181
|
it "sets errors on the IBAN" do
|
1009
1182
|
iban.valid_account_number_length?
|
1010
1183
|
expect(iban.errors).
|
1011
|
-
to include(account_number: "
|
1012
|
-
"
|
1184
|
+
to include(account_number: "est une longueur incorrecte (doit " \
|
1185
|
+
"contenir 8 caractères)")
|
1013
1186
|
end
|
1014
1187
|
end
|
1015
1188
|
|
@@ -1017,7 +1190,7 @@ describe Ibandit::IBAN do
|
|
1017
1190
|
it "sets errors on the IBAN" do
|
1018
1191
|
iban.valid_account_number_length?
|
1019
1192
|
expect(iban.errors).
|
1020
|
-
to include(account_number: "hat die
|
1193
|
+
to include(account_number: "hat nicht die richtige Länge (sollte " \
|
1021
1194
|
"8 Zeichen haben)")
|
1022
1195
|
end
|
1023
1196
|
end
|
@@ -1026,8 +1199,8 @@ describe Ibandit::IBAN do
|
|
1026
1199
|
it "sets errors on the IBAN" do
|
1027
1200
|
iban.valid_account_number_length?
|
1028
1201
|
expect(iban.errors).
|
1029
|
-
to include(account_number: "tem o
|
1030
|
-
"caracteres)")
|
1202
|
+
to include(account_number: "não tem o comprimento correto (deve " \
|
1203
|
+
"ter 8 caracteres)")
|
1031
1204
|
end
|
1032
1205
|
end
|
1033
1206
|
|
@@ -1035,8 +1208,8 @@ describe Ibandit::IBAN do
|
|
1035
1208
|
it "sets errors on the IBAN" do
|
1036
1209
|
iban.valid_account_number_length?
|
1037
1210
|
expect(iban.errors).
|
1038
|
-
to include(account_number: "tiene la longitud
|
1039
|
-
"
|
1211
|
+
to include(account_number: "no tiene la longitud correcta (debe " \
|
1212
|
+
"tener 8 caracteres)")
|
1040
1213
|
end
|
1041
1214
|
end
|
1042
1215
|
|
@@ -1044,8 +1217,8 @@ describe Ibandit::IBAN do
|
|
1044
1217
|
it "sets errors on the IBAN" do
|
1045
1218
|
iban.valid_account_number_length?
|
1046
1219
|
expect(iban.errors).
|
1047
|
-
to include(account_number: "
|
1048
|
-
"
|
1220
|
+
to include(account_number: "non ha la lunghezza richiesta (deve " \
|
1221
|
+
"essere di 8 caratteri)")
|
1049
1222
|
end
|
1050
1223
|
end
|
1051
1224
|
|
@@ -1057,6 +1230,40 @@ describe Ibandit::IBAN do
|
|
1057
1230
|
"tekens lang zijn)")
|
1058
1231
|
end
|
1059
1232
|
end
|
1233
|
+
|
1234
|
+
context "locale nb", locale: :nb do
|
1235
|
+
it "sets errors on the IBAN" do
|
1236
|
+
iban.valid_account_number_length?
|
1237
|
+
expect(iban.errors).
|
1238
|
+
to include(account_number: "har feil lengde (skal være 8 tegn)")
|
1239
|
+
end
|
1240
|
+
end
|
1241
|
+
|
1242
|
+
context "locale sl", locale: :sl do
|
1243
|
+
it "sets errors on the IBAN" do
|
1244
|
+
iban.valid_account_number_length?
|
1245
|
+
expect(iban.errors).
|
1246
|
+
to include(account_number: "je napačne dolžine (biti mora 8" \
|
1247
|
+
" znakov)")
|
1248
|
+
end
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
context "locale da", locale: :da do
|
1252
|
+
it "sets errors on the IBAN" do
|
1253
|
+
iban.valid_account_number_length?
|
1254
|
+
expect(iban.errors).
|
1255
|
+
to include(account_number: "har forkert længde (skulle være 8" \
|
1256
|
+
" tegn)")
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
context "locale sv", locale: :sv do
|
1261
|
+
it "sets errors on the IBAN" do
|
1262
|
+
iban.valid_account_number_length?
|
1263
|
+
expect(iban.errors).
|
1264
|
+
to include(account_number: "har fel längd (bör vara 8 tecken)")
|
1265
|
+
end
|
1266
|
+
end
|
1060
1267
|
end
|
1061
1268
|
|
1062
1269
|
context "with an invalid country_code" do
|
@@ -1094,8 +1301,7 @@ describe Ibandit::IBAN do
|
|
1094
1301
|
it "sets errors on the IBAN" do
|
1095
1302
|
iban.valid_characters?
|
1096
1303
|
expect(iban.errors).
|
1097
|
-
to include(characters: "Caractères non alphanumériques
|
1098
|
-
": -")
|
1304
|
+
to include(characters: "Caractères non alphanumériques trouvés : -")
|
1099
1305
|
end
|
1100
1306
|
end
|
1101
1307
|
|
@@ -1103,7 +1309,7 @@ describe Ibandit::IBAN do
|
|
1103
1309
|
it "sets errors on the IBAN" do
|
1104
1310
|
iban.valid_characters?
|
1105
1311
|
expect(iban.errors).
|
1106
|
-
to include(characters: "Nicht-
|
1312
|
+
to include(characters: "Nicht-alphanumerischen Zeichen gefunden: -")
|
1107
1313
|
end
|
1108
1314
|
end
|
1109
1315
|
|
@@ -1120,7 +1326,7 @@ describe Ibandit::IBAN do
|
|
1120
1326
|
it "sets errors on the IBAN" do
|
1121
1327
|
iban.valid_characters?
|
1122
1328
|
expect(iban.errors).
|
1123
|
-
to include(characters: "Se han
|
1329
|
+
to include(characters: "Se han encontrado caracteres no " \
|
1124
1330
|
"alfanuméricos: -")
|
1125
1331
|
end
|
1126
1332
|
end
|
@@ -1129,8 +1335,7 @@ describe Ibandit::IBAN do
|
|
1129
1335
|
it "sets errors on the IBAN" do
|
1130
1336
|
iban.valid_characters?
|
1131
1337
|
expect(iban.errors).
|
1132
|
-
to include(characters: "
|
1133
|
-
"trovato: -")
|
1338
|
+
to include(characters: "Caratteri non alfanumerici trovati: -")
|
1134
1339
|
end
|
1135
1340
|
end
|
1136
1341
|
|
@@ -1141,6 +1346,38 @@ describe Ibandit::IBAN do
|
|
1141
1346
|
to include(characters: "Niet-alfanumerieke tekens gevonden: -")
|
1142
1347
|
end
|
1143
1348
|
end
|
1349
|
+
|
1350
|
+
context "locale nb", locale: :nb do
|
1351
|
+
it "sets errors on the IBAN" do
|
1352
|
+
iban.valid_characters?
|
1353
|
+
expect(iban.errors).
|
1354
|
+
to include(characters: "Ikke-alfanumeriske tegn funnet: -")
|
1355
|
+
end
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
context "locale sl", locale: :sl do
|
1359
|
+
it "sets errors on the IBAN" do
|
1360
|
+
iban.valid_characters?
|
1361
|
+
expect(iban.errors).
|
1362
|
+
to include(characters: "Najdeni ne-alfanumerični znaki: -")
|
1363
|
+
end
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
context "locale da", locale: :da do
|
1367
|
+
it "sets errors on the IBAN" do
|
1368
|
+
iban.valid_characters?
|
1369
|
+
expect(iban.errors).
|
1370
|
+
to include(characters: "Ikke-alfanumeriske tegn registreret: -")
|
1371
|
+
end
|
1372
|
+
end
|
1373
|
+
|
1374
|
+
context "locale sv", locale: :sv do
|
1375
|
+
it "sets errors on the IBAN" do
|
1376
|
+
iban.valid_characters?
|
1377
|
+
expect(iban.errors).
|
1378
|
+
to include(characters: "Icke alfanumeriska tecken hittades: -")
|
1379
|
+
end
|
1380
|
+
end
|
1144
1381
|
end
|
1145
1382
|
end
|
1146
1383
|
|
@@ -1168,7 +1405,7 @@ describe Ibandit::IBAN do
|
|
1168
1405
|
it "sets errors on the IBAN" do
|
1169
1406
|
iban.valid_format?
|
1170
1407
|
expect(iban.errors).
|
1171
|
-
to include(format: "Format
|
1408
|
+
to include(format: "Format non attendu pour un IBAN GB.")
|
1172
1409
|
end
|
1173
1410
|
end
|
1174
1411
|
|
@@ -1176,7 +1413,7 @@ describe Ibandit::IBAN do
|
|
1176
1413
|
it "sets errors on the IBAN" do
|
1177
1414
|
iban.valid_format?
|
1178
1415
|
expect(iban.errors).
|
1179
|
-
to include(format: "Unerwartetes Format für eine GB
|
1416
|
+
to include(format: "Unerwartetes Format für eine GB-IBAN.")
|
1180
1417
|
end
|
1181
1418
|
end
|
1182
1419
|
|
@@ -1184,7 +1421,7 @@ describe Ibandit::IBAN do
|
|
1184
1421
|
it "sets errors on the IBAN" do
|
1185
1422
|
iban.valid_format?
|
1186
1423
|
expect(iban.errors).
|
1187
|
-
to include(format: "Formato
|
1424
|
+
to include(format: "Formato inesperado para um IBAN GB.")
|
1188
1425
|
end
|
1189
1426
|
end
|
1190
1427
|
|
@@ -1200,7 +1437,7 @@ describe Ibandit::IBAN do
|
|
1200
1437
|
it "sets errors on the IBAN" do
|
1201
1438
|
iban.valid_format?
|
1202
1439
|
expect(iban.errors).
|
1203
|
-
to include(format: "Formato
|
1440
|
+
to include(format: "Formato imprevisto per un IBAN GB.")
|
1204
1441
|
end
|
1205
1442
|
end
|
1206
1443
|
|
@@ -1211,6 +1448,38 @@ describe Ibandit::IBAN do
|
|
1211
1448
|
to include(format: "Onverwachte formaat voor een GB IBAN.")
|
1212
1449
|
end
|
1213
1450
|
end
|
1451
|
+
|
1452
|
+
context "locale nb", locale: :nb do
|
1453
|
+
it "sets errors on the IBAN" do
|
1454
|
+
iban.valid_format?
|
1455
|
+
expect(iban.errors).
|
1456
|
+
to include(format: "Uventet format for IBAN for GB.")
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
context "locale sl", locale: :sl do
|
1461
|
+
it "sets errors on the IBAN" do
|
1462
|
+
iban.valid_format?
|
1463
|
+
expect(iban.errors).
|
1464
|
+
to include(format: "Nepričakovana oblika zapisa GB v IBAN.")
|
1465
|
+
end
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
context "locale da", locale: :da do
|
1469
|
+
it "sets errors on the IBAN" do
|
1470
|
+
iban.valid_format?
|
1471
|
+
expect(iban.errors).
|
1472
|
+
to include(format: "Uventet format for en IBAN fra GB.")
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
context "locale sv", locale: :sv do
|
1477
|
+
it "sets errors on the IBAN" do
|
1478
|
+
iban.valid_format?
|
1479
|
+
expect(iban.errors).
|
1480
|
+
to include(format: "Oväntat format för GB IBAN.")
|
1481
|
+
end
|
1482
|
+
end
|
1214
1483
|
end
|
1215
1484
|
|
1216
1485
|
context "with an invalid country_code" do
|
@@ -1249,14 +1518,14 @@ describe Ibandit::IBAN do
|
|
1249
1518
|
context "locale fr", locale: :fr do
|
1250
1519
|
it "sets errors on the IBAN" do
|
1251
1520
|
iban.valid_bank_code_format?
|
1252
|
-
expect(iban.errors).to include(bank_code: "est
|
1521
|
+
expect(iban.errors).to include(bank_code: "n'est pas valide")
|
1253
1522
|
end
|
1254
1523
|
end
|
1255
1524
|
|
1256
1525
|
context "locale de", locale: :de do
|
1257
1526
|
it "sets errors on the IBAN" do
|
1258
1527
|
iban.valid_bank_code_format?
|
1259
|
-
expect(iban.errors).to include(bank_code: "ist
|
1528
|
+
expect(iban.errors).to include(bank_code: "ist ungültig")
|
1260
1529
|
end
|
1261
1530
|
end
|
1262
1531
|
|
@@ -1270,7 +1539,7 @@ describe Ibandit::IBAN do
|
|
1270
1539
|
context "locale es", locale: :es do
|
1271
1540
|
it "sets errors on the IBAN" do
|
1272
1541
|
iban.valid_bank_code_format?
|
1273
|
-
expect(iban.errors).to include(bank_code: "es
|
1542
|
+
expect(iban.errors).to include(bank_code: "no es válido")
|
1274
1543
|
end
|
1275
1544
|
end
|
1276
1545
|
|
@@ -1287,6 +1556,34 @@ describe Ibandit::IBAN do
|
|
1287
1556
|
expect(iban.errors).to include(bank_code: "is ongeldig")
|
1288
1557
|
end
|
1289
1558
|
end
|
1559
|
+
|
1560
|
+
context "locale nb", locale: :nb do
|
1561
|
+
it "sets errors on the IBAN" do
|
1562
|
+
iban.valid_bank_code_format?
|
1563
|
+
expect(iban.errors).to include(bank_code: "er ikke gyldig")
|
1564
|
+
end
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
context "locale sl", locale: :sl do
|
1568
|
+
it "sets errors on the IBAN" do
|
1569
|
+
iban.valid_bank_code_format?
|
1570
|
+
expect(iban.errors).to include(bank_code: "ni veljavno")
|
1571
|
+
end
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
context "locale da", locale: :da do
|
1575
|
+
it "sets errors on the IBAN" do
|
1576
|
+
iban.valid_bank_code_format?
|
1577
|
+
expect(iban.errors).to include(bank_code: "er ugyldig")
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
context "locale sv", locale: :sv do
|
1582
|
+
it "sets errors on the IBAN" do
|
1583
|
+
iban.valid_bank_code_format?
|
1584
|
+
expect(iban.errors).to include(bank_code: "är ogiltig")
|
1585
|
+
end
|
1586
|
+
end
|
1290
1587
|
end
|
1291
1588
|
|
1292
1589
|
context "with an invalid country code" do
|
@@ -1334,14 +1631,14 @@ describe Ibandit::IBAN do
|
|
1334
1631
|
context "locale fr", locale: :fr do
|
1335
1632
|
it "sets errors on the IBAN" do
|
1336
1633
|
iban.valid_branch_code_format?
|
1337
|
-
expect(iban.errors).to include(branch_code: "est
|
1634
|
+
expect(iban.errors).to include(branch_code: "n'est pas valide")
|
1338
1635
|
end
|
1339
1636
|
end
|
1340
1637
|
|
1341
1638
|
context "locale de", locale: :de do
|
1342
1639
|
it "sets errors on the IBAN" do
|
1343
1640
|
iban.valid_branch_code_format?
|
1344
|
-
expect(iban.errors).to include(branch_code: "ist
|
1641
|
+
expect(iban.errors).to include(branch_code: "ist ungültig")
|
1345
1642
|
end
|
1346
1643
|
end
|
1347
1644
|
|
@@ -1355,7 +1652,7 @@ describe Ibandit::IBAN do
|
|
1355
1652
|
context "locale es", locale: :es do
|
1356
1653
|
it "sets errors on the IBAN" do
|
1357
1654
|
iban.valid_branch_code_format?
|
1358
|
-
expect(iban.errors).to include(branch_code: "es
|
1655
|
+
expect(iban.errors).to include(branch_code: "no es válido")
|
1359
1656
|
end
|
1360
1657
|
end
|
1361
1658
|
|
@@ -1372,6 +1669,34 @@ describe Ibandit::IBAN do
|
|
1372
1669
|
expect(iban.errors).to include(branch_code: "is ongeldig")
|
1373
1670
|
end
|
1374
1671
|
end
|
1672
|
+
|
1673
|
+
context "locale nb", locale: :nb do
|
1674
|
+
it "sets errors on the IBAN" do
|
1675
|
+
iban.valid_branch_code_format?
|
1676
|
+
expect(iban.errors).to include(branch_code: "er ikke gyldig")
|
1677
|
+
end
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
context "locale sl", locale: :sl do
|
1681
|
+
it "sets errors on the IBAN" do
|
1682
|
+
iban.valid_branch_code_format?
|
1683
|
+
expect(iban.errors).to include(branch_code: "ni veljavno")
|
1684
|
+
end
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
context "locale da", locale: :da do
|
1688
|
+
it "sets errors on the IBAN" do
|
1689
|
+
iban.valid_branch_code_format?
|
1690
|
+
expect(iban.errors).to include(branch_code: "er ugyldig")
|
1691
|
+
end
|
1692
|
+
end
|
1693
|
+
|
1694
|
+
context "locale sv", locale: :sv do
|
1695
|
+
it "sets errors on the IBAN" do
|
1696
|
+
iban.valid_branch_code_format?
|
1697
|
+
expect(iban.errors).to include(branch_code: "är ogiltig")
|
1698
|
+
end
|
1699
|
+
end
|
1375
1700
|
end
|
1376
1701
|
|
1377
1702
|
context "with an invalid country code" do
|
@@ -1418,14 +1743,14 @@ describe Ibandit::IBAN do
|
|
1418
1743
|
context "locale fr", locale: :fr do
|
1419
1744
|
it "sets errors on the IBAN" do
|
1420
1745
|
iban.valid_account_number_format?
|
1421
|
-
expect(iban.errors).to include(account_number: "est
|
1746
|
+
expect(iban.errors).to include(account_number: "n'est pas valide")
|
1422
1747
|
end
|
1423
1748
|
end
|
1424
1749
|
|
1425
1750
|
context "locale de", locale: :de do
|
1426
1751
|
it "sets errors on the IBAN" do
|
1427
1752
|
iban.valid_account_number_format?
|
1428
|
-
expect(iban.errors).to include(account_number: "ist
|
1753
|
+
expect(iban.errors).to include(account_number: "ist ungültig")
|
1429
1754
|
end
|
1430
1755
|
end
|
1431
1756
|
|
@@ -1439,7 +1764,7 @@ describe Ibandit::IBAN do
|
|
1439
1764
|
context "locale es", locale: :es do
|
1440
1765
|
it "sets errors on the IBAN" do
|
1441
1766
|
iban.valid_account_number_format?
|
1442
|
-
expect(iban.errors).to include(account_number: "es
|
1767
|
+
expect(iban.errors).to include(account_number: "no es válido")
|
1443
1768
|
end
|
1444
1769
|
end
|
1445
1770
|
|
@@ -1456,6 +1781,34 @@ describe Ibandit::IBAN do
|
|
1456
1781
|
expect(iban.errors).to include(account_number: "is ongeldig")
|
1457
1782
|
end
|
1458
1783
|
end
|
1784
|
+
|
1785
|
+
context "locale nb", locale: :nb do
|
1786
|
+
it "sets errors on the IBAN" do
|
1787
|
+
iban.valid_account_number_format?
|
1788
|
+
expect(iban.errors).to include(account_number: "er ikke gyldig")
|
1789
|
+
end
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
context "locale sl", locale: :sl do
|
1793
|
+
it "sets errors on the IBAN" do
|
1794
|
+
iban.valid_account_number_format?
|
1795
|
+
expect(iban.errors).to include(account_number: "ni veljavno")
|
1796
|
+
end
|
1797
|
+
end
|
1798
|
+
|
1799
|
+
context "locale da", locale: :da do
|
1800
|
+
it "sets errors on the IBAN" do
|
1801
|
+
iban.valid_account_number_format?
|
1802
|
+
expect(iban.errors).to include(account_number: "er ugyldig")
|
1803
|
+
end
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
context "locale sv", locale: :sv do
|
1807
|
+
it "sets errors on the IBAN" do
|
1808
|
+
iban.valid_account_number_format?
|
1809
|
+
expect(iban.errors).to include(account_number: "är ogiltig")
|
1810
|
+
end
|
1811
|
+
end
|
1459
1812
|
end
|
1460
1813
|
|
1461
1814
|
context "with an invalid country code" do
|
@@ -1516,12 +1869,14 @@ describe Ibandit::IBAN do
|
|
1516
1869
|
end
|
1517
1870
|
|
1518
1871
|
context "locale fr", locale: :fr do
|
1519
|
-
specify
|
1872
|
+
specify do
|
1873
|
+
expect(iban.errors).to include(bank_code: "n'est pas valide")
|
1874
|
+
end
|
1520
1875
|
end
|
1521
1876
|
|
1522
1877
|
context "locale de", locale: :de do
|
1523
1878
|
specify do
|
1524
|
-
expect(iban.errors).to include(bank_code: "ist
|
1879
|
+
expect(iban.errors).to include(bank_code: "ist ungültig")
|
1525
1880
|
end
|
1526
1881
|
end
|
1527
1882
|
|
@@ -1530,7 +1885,7 @@ describe Ibandit::IBAN do
|
|
1530
1885
|
end
|
1531
1886
|
|
1532
1887
|
context "locale es", locale: :es do
|
1533
|
-
specify { expect(iban.errors).to include(bank_code: "es
|
1888
|
+
specify { expect(iban.errors).to include(bank_code: "no es válido") }
|
1534
1889
|
end
|
1535
1890
|
|
1536
1891
|
context "locale it", locale: :it do
|
@@ -1540,6 +1895,24 @@ describe Ibandit::IBAN do
|
|
1540
1895
|
context "locale nl", locale: :nl do
|
1541
1896
|
specify { expect(iban.errors).to include(bank_code: "is ongeldig") }
|
1542
1897
|
end
|
1898
|
+
|
1899
|
+
context "locale nb", locale: :nb do
|
1900
|
+
specify do
|
1901
|
+
expect(iban.errors).to include(bank_code: "er ikke gyldig")
|
1902
|
+
end
|
1903
|
+
end
|
1904
|
+
|
1905
|
+
context "locale sl", locale: :sl do
|
1906
|
+
specify { expect(iban.errors).to include(bank_code: "ni veljavno") }
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
context "locale da", locale: :da do
|
1910
|
+
specify { expect(iban.errors).to include(bank_code: "er ugyldig") }
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
context "locale sv", locale: :sv do
|
1914
|
+
specify { expect(iban.errors).to include(bank_code: "är ogiltig") }
|
1915
|
+
end
|
1543
1916
|
end
|
1544
1917
|
|
1545
1918
|
context "with an invalid branch code" do
|
@@ -1569,13 +1942,13 @@ describe Ibandit::IBAN do
|
|
1569
1942
|
|
1570
1943
|
context "locale fr", locale: :fr do
|
1571
1944
|
specify do
|
1572
|
-
expect(iban.errors).to include(branch_code: "est
|
1945
|
+
expect(iban.errors).to include(branch_code: "n'est pas valide")
|
1573
1946
|
end
|
1574
1947
|
end
|
1575
1948
|
|
1576
1949
|
context "locale de", locale: :de do
|
1577
1950
|
specify do
|
1578
|
-
expect(iban.errors).to include(branch_code: "ist
|
1951
|
+
expect(iban.errors).to include(branch_code: "ist ungültig")
|
1579
1952
|
end
|
1580
1953
|
end
|
1581
1954
|
|
@@ -1587,7 +1960,7 @@ describe Ibandit::IBAN do
|
|
1587
1960
|
|
1588
1961
|
context "locale es", locale: :es do
|
1589
1962
|
specify do
|
1590
|
-
expect(iban.errors).to include(branch_code: "es
|
1963
|
+
expect(iban.errors).to include(branch_code: "no es válido")
|
1591
1964
|
end
|
1592
1965
|
end
|
1593
1966
|
|
@@ -1602,6 +1975,30 @@ describe Ibandit::IBAN do
|
|
1602
1975
|
expect(iban.errors).to include(branch_code: "is ongeldig")
|
1603
1976
|
end
|
1604
1977
|
end
|
1978
|
+
|
1979
|
+
context "locale nb", locale: :nb do
|
1980
|
+
specify do
|
1981
|
+
expect(iban.errors).to include(branch_code: "er ikke gyldig")
|
1982
|
+
end
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
context "locale sl", locale: :sl do
|
1986
|
+
specify do
|
1987
|
+
expect(iban.errors).to include(branch_code: "ni veljavno")
|
1988
|
+
end
|
1989
|
+
end
|
1990
|
+
|
1991
|
+
context "locale da", locale: :da do
|
1992
|
+
specify do
|
1993
|
+
expect(iban.errors).to include(branch_code: "er ugyldig")
|
1994
|
+
end
|
1995
|
+
end
|
1996
|
+
|
1997
|
+
context "locale sv", locale: :sv do
|
1998
|
+
specify do
|
1999
|
+
expect(iban.errors).to include(branch_code: "är ogiltig")
|
2000
|
+
end
|
2001
|
+
end
|
1605
2002
|
end
|
1606
2003
|
|
1607
2004
|
context "with an invalid account number" do
|
@@ -1627,13 +2024,13 @@ describe Ibandit::IBAN do
|
|
1627
2024
|
|
1628
2025
|
context "locale fr", locale: :fr do
|
1629
2026
|
specify do
|
1630
|
-
expect(iban.errors).to include(account_number: "est
|
2027
|
+
expect(iban.errors).to include(account_number: "n'est pas valide")
|
1631
2028
|
end
|
1632
2029
|
end
|
1633
2030
|
|
1634
2031
|
context "locale de", locale: :de do
|
1635
2032
|
specify do
|
1636
|
-
expect(iban.errors).to include(account_number: "ist
|
2033
|
+
expect(iban.errors).to include(account_number: "ist ungültig")
|
1637
2034
|
end
|
1638
2035
|
end
|
1639
2036
|
|
@@ -1645,7 +2042,7 @@ describe Ibandit::IBAN do
|
|
1645
2042
|
|
1646
2043
|
context "locale es", locale: :es do
|
1647
2044
|
specify do
|
1648
|
-
expect(iban.errors).to include(account_number: "es
|
2045
|
+
expect(iban.errors).to include(account_number: "no es válido")
|
1649
2046
|
end
|
1650
2047
|
end
|
1651
2048
|
|
@@ -1660,6 +2057,30 @@ describe Ibandit::IBAN do
|
|
1660
2057
|
expect(iban.errors).to include(account_number: "is ongeldig")
|
1661
2058
|
end
|
1662
2059
|
end
|
2060
|
+
|
2061
|
+
context "locale nb", locale: :nb do
|
2062
|
+
specify do
|
2063
|
+
expect(iban.errors).to include(account_number: "er ikke gyldig")
|
2064
|
+
end
|
2065
|
+
end
|
2066
|
+
|
2067
|
+
context "locale sl", locale: :sl do
|
2068
|
+
specify do
|
2069
|
+
expect(iban.errors).to include(account_number: "ni veljavno")
|
2070
|
+
end
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
context "locale da", locale: :da do
|
2074
|
+
specify do
|
2075
|
+
expect(iban.errors).to include(account_number: "er ugyldig")
|
2076
|
+
end
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
context "locale sv", locale: :sv do
|
2080
|
+
specify do
|
2081
|
+
expect(iban.errors).to include(account_number: "är ogiltig")
|
2082
|
+
end
|
2083
|
+
end
|
1663
2084
|
end
|
1664
2085
|
end
|
1665
2086
|
|
@@ -1689,7 +2110,7 @@ describe Ibandit::IBAN do
|
|
1689
2110
|
specify do
|
1690
2111
|
iban.supports_iban_determination?
|
1691
2112
|
expect(iban.errors).
|
1692
|
-
to include(account_number: "ne
|
2113
|
+
to include(account_number: "ne prend pas en charge les paiements")
|
1693
2114
|
end
|
1694
2115
|
end
|
1695
2116
|
|
@@ -1697,7 +2118,7 @@ describe Ibandit::IBAN do
|
|
1697
2118
|
specify do
|
1698
2119
|
iban.supports_iban_determination?
|
1699
2120
|
expect(iban.errors).
|
1700
|
-
to include(account_number: "
|
2121
|
+
to include(account_number: "unterstützt keine Zahlungen")
|
1701
2122
|
end
|
1702
2123
|
end
|
1703
2124
|
|
@@ -1721,7 +2142,7 @@ describe Ibandit::IBAN do
|
|
1721
2142
|
specify do
|
1722
2143
|
iban.supports_iban_determination?
|
1723
2144
|
expect(iban.errors).
|
1724
|
-
to include(account_number: "non supporta pagamenti")
|
2145
|
+
to include(account_number: "non supporta i pagamenti")
|
1725
2146
|
end
|
1726
2147
|
end
|
1727
2148
|
|
@@ -1732,6 +2153,38 @@ describe Ibandit::IBAN do
|
|
1732
2153
|
to include(account_number: "ondersteunt geen betalingen")
|
1733
2154
|
end
|
1734
2155
|
end
|
2156
|
+
|
2157
|
+
context "locale nb", locale: :nb do
|
2158
|
+
specify do
|
2159
|
+
iban.supports_iban_determination?
|
2160
|
+
expect(iban.errors).
|
2161
|
+
to include(account_number: "støtter ikke betalinger")
|
2162
|
+
end
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
context "locale sl", locale: :sl do
|
2166
|
+
specify do
|
2167
|
+
iban.supports_iban_determination?
|
2168
|
+
expect(iban.errors).
|
2169
|
+
to include(account_number: "ne podpira plačil")
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
context "locale da", locale: :da do
|
2174
|
+
specify do
|
2175
|
+
iban.supports_iban_determination?
|
2176
|
+
expect(iban.errors).
|
2177
|
+
to include(account_number: "understøtter ikke betalinger")
|
2178
|
+
end
|
2179
|
+
end
|
2180
|
+
|
2181
|
+
context "locale sv", locale: :sv do
|
2182
|
+
specify do
|
2183
|
+
iban.supports_iban_determination?
|
2184
|
+
expect(iban.errors).
|
2185
|
+
to include(account_number: "stödjer inte betalningar")
|
2186
|
+
end
|
2187
|
+
end
|
1735
2188
|
end
|
1736
2189
|
end
|
1737
2190
|
|
@@ -1914,13 +2367,13 @@ describe Ibandit::IBAN do
|
|
1914
2367
|
|
1915
2368
|
context "locale fr", locale: :fr do
|
1916
2369
|
specify do
|
1917
|
-
expect(iban.errors).to include(branch_code: "est
|
2370
|
+
expect(iban.errors).to include(branch_code: "n'est pas valide")
|
1918
2371
|
end
|
1919
2372
|
end
|
1920
2373
|
|
1921
2374
|
context "locale de", locale: :de do
|
1922
2375
|
specify do
|
1923
|
-
expect(iban.errors).to include(branch_code: "ist
|
2376
|
+
expect(iban.errors).to include(branch_code: "ist ungültig")
|
1924
2377
|
end
|
1925
2378
|
end
|
1926
2379
|
|
@@ -1932,7 +2385,7 @@ describe Ibandit::IBAN do
|
|
1932
2385
|
|
1933
2386
|
context "locale es", locale: :es do
|
1934
2387
|
specify do
|
1935
|
-
expect(iban.errors).to include(branch_code: "es
|
2388
|
+
expect(iban.errors).to include(branch_code: "no es válido")
|
1936
2389
|
end
|
1937
2390
|
end
|
1938
2391
|
|
@@ -1947,6 +2400,30 @@ describe Ibandit::IBAN do
|
|
1947
2400
|
expect(iban.errors).to include(branch_code: "is ongeldig")
|
1948
2401
|
end
|
1949
2402
|
end
|
2403
|
+
|
2404
|
+
context "locale nb", locale: :nb do
|
2405
|
+
specify do
|
2406
|
+
expect(iban.errors).to include(branch_code: "er ikke gyldig")
|
2407
|
+
end
|
2408
|
+
end
|
2409
|
+
|
2410
|
+
context "locale sl", locale: :sl do
|
2411
|
+
specify do
|
2412
|
+
expect(iban.errors).to include(branch_code: "ni veljavno")
|
2413
|
+
end
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
context "locale da", locale: :da do
|
2417
|
+
specify do
|
2418
|
+
expect(iban.errors).to include(branch_code: "er ugyldig")
|
2419
|
+
end
|
2420
|
+
end
|
2421
|
+
|
2422
|
+
context "locale sv", locale: :sv do
|
2423
|
+
specify do
|
2424
|
+
expect(iban.errors).to include(branch_code: "är ogiltig")
|
2425
|
+
end
|
2426
|
+
end
|
1950
2427
|
end
|
1951
2428
|
end
|
1952
2429
|
end
|
@@ -2016,13 +2493,13 @@ describe Ibandit::IBAN do
|
|
2016
2493
|
|
2017
2494
|
context "locale fr", locale: :fr do
|
2018
2495
|
specify do
|
2019
|
-
expect(iban.errors).to include(branch_code: "est
|
2496
|
+
expect(iban.errors).to include(branch_code: "n'est pas valide")
|
2020
2497
|
end
|
2021
2498
|
end
|
2022
2499
|
|
2023
2500
|
context "locale de", locale: :de do
|
2024
2501
|
specify do
|
2025
|
-
expect(iban.errors).to include(branch_code: "ist
|
2502
|
+
expect(iban.errors).to include(branch_code: "ist ungültig")
|
2026
2503
|
end
|
2027
2504
|
end
|
2028
2505
|
|
@@ -2034,7 +2511,7 @@ describe Ibandit::IBAN do
|
|
2034
2511
|
|
2035
2512
|
context "locale es", locale: :es do
|
2036
2513
|
specify do
|
2037
|
-
expect(iban.errors).to include(branch_code: "es
|
2514
|
+
expect(iban.errors).to include(branch_code: "no es válido")
|
2038
2515
|
end
|
2039
2516
|
end
|
2040
2517
|
|
@@ -2049,6 +2526,30 @@ describe Ibandit::IBAN do
|
|
2049
2526
|
expect(iban.errors).to include(branch_code: "is ongeldig")
|
2050
2527
|
end
|
2051
2528
|
end
|
2529
|
+
|
2530
|
+
context "locale nb", locale: :nb do
|
2531
|
+
specify do
|
2532
|
+
expect(iban.errors).to include(branch_code: "er ikke gyldig")
|
2533
|
+
end
|
2534
|
+
end
|
2535
|
+
|
2536
|
+
context "locale sl", locale: :sl do
|
2537
|
+
specify do
|
2538
|
+
expect(iban.errors).to include(branch_code: "ni veljavno")
|
2539
|
+
end
|
2540
|
+
end
|
2541
|
+
|
2542
|
+
context "locale da", locale: :da do
|
2543
|
+
specify do
|
2544
|
+
expect(iban.errors).to include(branch_code: "er ugyldig")
|
2545
|
+
end
|
2546
|
+
end
|
2547
|
+
|
2548
|
+
context "locale sv", locale: :sv do
|
2549
|
+
specify do
|
2550
|
+
expect(iban.errors).to include(branch_code: "är ogiltig")
|
2551
|
+
end
|
2552
|
+
end
|
2052
2553
|
end
|
2053
2554
|
end
|
2054
2555
|
end
|