Sha256: 01fdc3c4134b686cc15f7a02fe32fca005faebe0df854133e3e9a693d2d89fb4

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

require "helper"

## Ireland
class IETest < Minitest::Test

  def test_short_cork_number
    parse_test('+353 28 28946', '353', '28', '28946')
  end

  def test_short_cork_number_2
    parse_test('+353 28 28943', '353', '28', '28943')
  end

  def test_short_wrong_area_code
    pp = Phoner::Phone.parse('+353 33023')

    assert_nil pp
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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