Sha256: 5fe555a430741f92f1dcbdd439801608e66019e9eff29b7ad792a8305f7d1610

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

# encoding: UTF-8
require '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

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
graticule-2.7.2 test/graticule/geocoder_test.rb
graticule-2.7.1 test/graticule/geocoder_test.rb
graticule-2.7.0 test/graticule/geocoder_test.rb
graticule-2.6.0 test/graticule/geocoder_test.rb
graticule-2.5.0 test/graticule/geocoder_test.rb
graticule-2.4.0 test/graticule/geocoder_test.rb