Validate iban

This commit is contained in:
Artur Beljajev 2019-05-20 13:25:26 +03:00
parent ca317ace45
commit da191e14e6
4 changed files with 18 additions and 1 deletions

7
test/models/iban_test.rb Normal file
View 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