<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -35,6 +35,15 @@ class UsGeocoderTest &lt; BaseGeocoderTest #:nodoc: all
     assert !Geokit::Geocoders::UsGeocoder.geocode(@us_full_loc).success   
   end  
   
+  def test_all_method
+    response = MockSuccess.new
+    response.expects(:body).returns(GEOCODER_US_FULL)
+    url = &quot;http://geocoder.us/service/csv/geocode?address=#{Geokit::Inflector.url_escape(@address)}&quot;
+    Geokit::Geocoders::UsGeocoder.expects(:call_geocoder_service).with(url).returns(response)
+    res=Geokit::Geocoders::UsGeocoder.geocode(@address)
+    assert_equal 1, res.all.size
+  end
+  
   private
   
   def verify(location)</diff>
      <filename>test/test_us_geocoder.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e71c96bc75e57115847bf9efbeb0245dad925bae</id>
    </parent>
  </parents>
  <author>
    <name>Andre Lewis</name>
    <email>andre@highgroove.com</email>
  </author>
  <url>http://github.com/andre/geokit-gem/commit/51287e5195d72a095df3355a2d6fce6cbc202f10</url>
  <id>51287e5195d72a095df3355a2d6fce6cbc202f10</id>
  <committed-date>2009-02-22T00:15:02-08:00</committed-date>
  <authored-date>2009-02-22T00:15:02-08:00</authored-date>
  <message>added test for 'all' method on a geocoder which doesn't supply multple results</message>
  <tree>d9572d01125790aacf4355bf7c131d33cf5677f0</tree>
  <committer>
    <name>Andre Lewis</name>
    <email>andre@highgroove.com</email>
  </committer>
</commit>
