Sha256: bd2346cbf5004b96b74b3dadddadb073243cb14e5a488349401e2f755c685626

Contents?: true

Size: 652 Bytes

Versions: 13

Compression:

Stored size: 652 Bytes

Contents

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

module Graticule
  class GeocoderTest < Test::Unit::TestCase

    def test_bogus_service
      assert_equal Geocoder::Bogus, Graticule.service(:bogus)
    end

    def test_yahoo_service
      assert_equal Geocoder::Yahoo, Graticule.service(:yahoo)
    end

    def test_google_service
      assert_equal Geocoder::Google, Graticule.service(:google)
    end

    def test_geocoder_us_service
      assert_equal Geocoder::GeocoderUs, Graticule.service(:geocoder_us)
    end

    def test_meta_carta_service
      assert_equal Geocoder::MetaCarta, Graticule.service(:meta_carta)
    end
  
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
GUI-graticule-0.2.7.2 test/unit/graticule/geocoder_test.rb
GUI-graticule-0.2.7.3 test/unit/graticule/geocoder_test.rb
GUI-graticule-0.2.7.4 test/unit/graticule/geocoder_test.rb
GUI-graticule-0.2.7.5 test/unit/graticule/geocoder_test.rb
GUI-graticule-0.2.7.6 test/unit/graticule/geocoder_test.rb
norman-graticule-0.2.7 test/unit/graticule/geocoder_test.rb
graticule-0.2.1 test/unit/graticule/geocoder_test.rb
graticule-0.2.0 test/unit/graticule/geocoder_test.rb
graticule-0.2.6 test/unit/graticule/geocoder_test.rb
graticule-0.2.3 test/unit/graticule/geocoder_test.rb
graticule-0.2.4 test/unit/graticule/geocoder_test.rb
graticule-0.2.5 test/unit/graticule/geocoder_test.rb
graticule-0.2.2 test/unit/graticule/geocoder_test.rb