Sha256: 8068c598534bbde8ac6f1a701b132e474b2c866e98e2d809fc05c1ecf5249226
Contents?: true
Size: 409 Bytes
Versions: 5
Compression:
Stored size: 409 Bytes
Contents
require_relative '../test_helper' class TestValidators < Test::Unit::TestCase include MyMoip::Validators def test_valid_url_validator assert_equal valid_url?('http://valid.url.me'), true assert_equal valid_url?('https://valid.url.me'), true assert_equal valid_url?('ftp://valid.url.me'), false assert_equal valid_url?('valid.url.me'), false assert_equal valid_url?('me'), false end end
Version data entries
5 entries across 5 versions & 2 rubygems