Sha256: 7cd74a8da613945c48cf872e47c387ff6215b3c9025c76fe275a3743edd66de1
Contents?: true
Size: 686 Bytes
Versions: 21
Compression:
Stored size: 686 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.configuration.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
21 entries across 21 versions & 1 rubygems