Skip to content
Snippets Groups Projects
Commit 2f1729e7 authored by Alex Reisner's avatar Alex Reisner
Browse files

Add sanity checks.

parent 29f2ca86
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,14 @@ class GeocoderTest < Test::Unit::TestCase
assert_equal v.distance_from(30, -94), v.distance_to(30, -94)
end
def test_coordinates_method
assert_not_nil Geocoder.coordinates("Madison Square Garden, New York, NY")
end
def test_address_method
assert_not_nil Geocoder.address(40.750354, -73.993371)
end
# --- general ---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment