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

Test nil address with all valid lookups.

parent 7167a787
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,9 @@ class GeocoderTest < Test::Unit::TestCase
end
def test_does_not_choke_on_nil_address
v = Venue.new("Venue", nil)
assert_nothing_raised do
v.geocode
Geocoder.send(:valid_lookups).each do |l|
Geocoder::Configuration.lookup = l
assert_nothing_raised { Venue.new("Venue", nil).geocode }
end
end
......
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