Sha256: 18a15a767e62d83b6ff754a9ce7a5a8601046c036c25cb108decec30a894fab2

Contents?: true

Size: 383 Bytes

Versions: 6

Compression:

Stored size: 383 Bytes

Contents

# encoding: utf-8

require 'helper'
require 'vcr'

VCR.configure do |c|
  c.cassette_library_dir = "#{File.dirname(__FILE__)}/fixtures-vcr"
  c.hook_into :webmock
end

class GeocoderTest < Test::Unit::TestCase
  def test_geocoder
    VCR.use_cassette('geocoder') do
      expected = [13.40629, 52.524268, 0]
      assert_equal(expected, Geocoder.geocode("Berlin"))
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
radiospiel-app-0.2.10 test/geocoder_test.rb
radiospiel-app-0.2.9 test/geocoder_test.rb
radiospiel-app-0.2.7 test/geocoder_test.rb
radiospiel-app-0.2.6 test/geocoder_test.rb
radiospiel-app-0.2.5 test/geocoder_test.rb
radiospiel-app-0.2.3 test/geocoder_test.rb