From 2f1729e7514c153de3522246a78759b4d5d12c58 Mon Sep 17 00:00:00 2001
From: Alex Reisner <alex@alexreisner.com>
Date: Fri, 18 Mar 2011 18:49:04 -0400
Subject: [PATCH] Add sanity checks.

---
 test/geocoder_test.rb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/geocoder_test.rb b/test/geocoder_test.rb
index 68b8f844..782806ef 100644
--- a/test/geocoder_test.rb
+++ b/test/geocoder_test.rb
@@ -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 ---
 
-- 
GitLab