Sha256: f4f3b8727f91d7feba9caaf4868d29f781c3da587582d04b0e60d45b10db8ab7
Contents?: true
Size: 514 Bytes
Versions: 23
Compression:
Stored size: 514 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../test_helper') ## Mexico class MXTest < Phonie::TestCase def test_local parse_test('+52 33 36159895', '52', '33', '36159895', 'Mexico', false) parse_test('+52 686 3615989', '52', '686', '3615989', 'Mexico', false) end def test_mobile # Mobile phones have extra 1 in front parse_test('+52 1 55 12345678', '52', '155', '12345678', 'Mexico', true) parse_test('+52 1 444 1234567', '52', '1444', '1234567', 'Mexico', true) end end
Version data entries
23 entries across 23 versions & 1 rubygems