Sha256: 8ceaaf46862dad3734e04225d773230938b7fe8816c187b95cf1b67c45290c31
Contents?: true
Size: 646 Bytes
Versions: 11
Compression:
Stored size: 646 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../test_helper') ## Trinidad and Tobago class TTTest < Phonie::TestCase def test_local parse_test('+18681234567', '1', '868', '1234567', 'Trinidad and Tobago') end def test_long_with_default_country_code Phonie.configuration.default_country_code = '1' parse_test('8689735100', '1', '868', '9735100', 'Trinidad and Tobago') end def test_short_with_default_country_code_and_area_code Phonie.configuration.default_country_code = '1' Phonie.configuration.default_area_code = '868' parse_test('9735100', '1', '868', '9735100', 'Trinidad and Tobago') end end
Version data entries
11 entries across 11 versions & 1 rubygems