Sha256: fcf1e009ef558ea0b505b8764f574a70ff8114cc2604f8d099c21609f84a667a

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../test_helper')

## Iran
class IRTest < Phoner::TestCase
  def test_local
    parse_test('982188686344', '98', '21', '88686344', "Iran, Islamic Republic Of", false)
    parse_test('985218868634', '98', '521', '8868634')
  end

  def test_mobile
    parse_test('989188686344', '98', '918', '8686344', "Iran, Islamic Republic Of", true)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phoner-1.0.1 test/countries/ir_test.rb
phoner-1.0 test/countries/ir_test.rb