Sha256: e54b1cd63807f9b00b9ed924c50ad551b688265876042c6821c9a1b66cb7cf5b
Contents?: true
Size: 457 Bytes
Versions: 4
Compression:
Stored size: 457 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../test_helper') ## Brazil class BRTest < Phonie::TestCase def test_local parse_test('+559112345678', '55', "91", '12345678', 'Brazil', false) #parse_failure('+5591123456789') # only mobile numebrs can be 11 digits end def test_mobile parse_test('553161234567', '55', '31', '61234567', 'Brazil', true) parse_test('5512612345678', '55', '12', '612345678', 'Brazil', true) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
phonie-3.1.6 | test/countries/br_test.rb |
phonie-3.1.5 | test/countries/br_test.rb |
phonie-3.1.4 | test/countries/br_test.rb |
phonie-3.1.3 | test/countries/br_test.rb |