Sha256: 684a97c05d7876655d110140dac9c363fc94af0fe7f8d58edb1e9650f6d34faf
Contents?: true
Size: 679 Bytes
Versions: 10
Compression:
Stored size: 679 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../test_helper') ## Bangladesh class BDTest < Phonie::TestCase def test_local parse_test('+8801715379982', '880', '171', '5379982', 'Bangladesh', true) parse_test('+8801191573647', '880', '119', '1573647', 'Bangladesh', true) parse_test('+88021915736', '880', '2', '1915736', 'Bangladesh', false) end def test_with_default_country Phonie::Phone.default_country_code = '880' parse_test('1715379982', '880', '171', '5379982', 'Bangladesh', true) parse_test('1191573647', '880', '119', '1573647', 'Bangladesh', true) parse_test('21915736', '880', '2', '1915736', 'Bangladesh', false) end end
Version data entries
10 entries across 10 versions & 1 rubygems