Sha256: 2b448d8dad6fae1293da8dc1215437c483fd43146d8938e3712ef95e2aaf3675

Contents?: true

Size: 412 Bytes

Versions: 2

Compression:

Stored size: 412 Bytes

Contents

require "helper"

## Germany
class DETest < Minitest::Test

  def test_local
    parse_test('+49 714 1605832', '49', '714', '1605832')
  end

  def test_mobile
    parse_test('+49 162 3499558', '49', '162', '3499558')
  end

  # TODO: germany has 2-5 length area codes, that's why this test doesn't go through
  #def test_country_side
  #  parse_test('+49 (0)6120 59511-23', '49', '6120', '5951123')
  #end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phone-1.3.0.beta1 test/countries/de_test.rb
phone-1.3.0.beta0 test/countries/de_test.rb