test/geo/locator_test.rb in enrichment_db-0.1.0 vs test/geo/locator_test.rb in enrichment_db-0.1.1
- old
+ new
@@ -21,10 +21,10 @@
lat = 10
long = 180
lat_long = { 'lat' => lat, 'lon' => long }
begin
EnrichmentDb::Geo::Locator.format_geo(lat_long)
- rescue EnrichmentDb::InvalidFormat => e
+ rescue EnrichmentDb::InvalidGeoPointFormat => e
else
flunk('This should have errored out.')
end
end