Sha256: e3f9c00b9ee8098991a9c0600dda0bf90381c3190fc67418fb76e4dd7a26ab54

Contents?: true

Size: 521 Bytes

Versions: 5

Compression:

Stored size: 521 Bytes

Contents

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

## France
class FRTest < Phoner::TestCase

  def test_local
    parse_test('+33 4 75 06 07 07', '33', '4', '75060707', "France", false)
  end

  def test_mobile
    parse_test('+33 6 11 22 33 44', '33', '6', '11223344', "France", true)
  end

  def test_mobile_07
     parse_test('+33 7 11 22 33 44', '33', '7', '11223344', "France", true)
   end

  def test_voip
    parse_test('+33 9 11 22 33 44', '33', '9', '11223344', "France", false)
  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
superp-phone-1.2.1 test/countries/fr_test.rb
superp-phone-1.2 test/countries/fr_test.rb
phoner-1.0.1 test/countries/fr_test.rb
phoner-1.0 test/countries/fr_test.rb
superp-phone-1.1 test/countries/fr_test.rb