Sha256: fdd4d6712974472e16aaae777402a8577584c3d3b41fd8c232a989f7409e1942
Contents?: true
Size: 391 Bytes
Versions: 22
Compression:
Stored size: 391 Bytes
Contents
require 'test/unit' require 'phone_number_validator' class PhoneNumberValidatorTest < Test::Unit::TestCase def test_valid_phone_number assert_equal true, PhoneNumberValidator.validate_phone_number('+1 (949) 355-6244 ext. 198842') end def test_invalid_phone_number assert_equal false, PhoneNumberValidator.validate_phone_number('94643823637337') end end
Version data entries
22 entries across 22 versions & 1 rubygems