mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Validate iban
This commit is contained in:
parent
ca317ace45
commit
da191e14e6
4 changed files with 18 additions and 1 deletions
7
test/models/iban_test.rb
Normal file
7
test/models/iban_test.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
require 'test_helper'
|
||||
|
||||
class IbanTest < ActiveSupport::TestCase
|
||||
def test_returns_max_length
|
||||
assert_equal 34, Iban.max_length
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue