Sha256: 373eb0e5a35773a82e5fe9c543da97121022fa8a5a0cc4a76d783735bc5ddf8c

Contents?: true

Size: 517 Bytes

Versions: 18

Compression:

Stored size: 517 Bytes

Contents

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

## Spain
class ESTest < Phonie::TestCase
  def test_local
    parse_test('+34985204499',  '34', '985',  '204499', 'Spain', false)
    parse_test('+34902107303',  '34', '902',  '107303', 'Spain', false)
    parse_test('+34985892398',  '34', '985',  '892398', 'Spain', false)
  end

  def test_mobile
    parse_test('+34644161452', '34', '6', '44161452', 'Spain', true)
    parse_test('+34635399976', '34', '6', '35399976', 'Spain', true)
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
phonie-3.3.1 test/countries/es_test.rb
phonie-3.2.2 test/countries/es_test.rb
phonie-3.2.1 test/countries/es_test.rb
phonie-3.2.0 test/countries/es_test.rb
phonie-3.1.15 test/countries/es_test.rb
phonie-3.1.14 test/countries/es_test.rb
phonie-3.1.13 test/countries/es_test.rb
phonie-3.1.12 test/countries/es_test.rb
phonie-3.1.11 test/countries/es_test.rb
phonie-3.1.10 test/countries/es_test.rb
phonie-3.1.9 test/countries/es_test.rb
phonie-3.1.8 test/countries/es_test.rb
phonie-3.1.7 test/countries/es_test.rb
phonie-3.1.6 test/countries/es_test.rb
phonie-3.1.5 test/countries/es_test.rb
phonie-3.1.4 test/countries/es_test.rb
phonie-3.1.3 test/countries/es_test.rb
phonie-3.1.2 test/countries/es_test.rb