Sha256: 791e508b1f4a2df1ad22c2583495fcadfe37943c3082b2225da3e6f0947c6946

Contents?: true

Size: 421 Bytes

Versions: 2

Compression:

Stored size: 421 Bytes

Contents

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

## Austria
# Austrian numbers are, ugh, strange. The matching patterns used are minimal :/
# and will result in many false positives
class ATTest < Phoner::TestCase
  def test_local
    parse_test('+4354321', '43', "5432", '1', 'Austria', false)
  end

  def test_mobile
    parse_test('+43612345678', '43', '6', '12345678', 'Austria', true)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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