Sha256: 35eaee00f5f576053932154418ac271e82a3104a6ea2e904b008c1704a68e383
Contents?: true
Size: 596 Bytes
Versions: 21
Compression:
Stored size: 596 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../test_helper') ## Canada class CATest < Phonie::TestCase def test_local parse_test('+1 416 856 3348', '1', '416', '8563348', 'Canada') end def test_long_with_default_country_code Phonie.configuration.default_country_code = '1' parse_test('9059735100', '1', '905', '9735100', 'Canada') end def test_short_with_default_country_code_and_area_code Phonie.configuration.default_country_code = '1' Phonie.configuration.default_area_code = '416' parse_test('9735100', '1', '416', '9735100', 'Canada') end end
Version data entries
21 entries across 21 versions & 1 rubygems