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

Escaped pluses no longer possible without :yahoo.

parent 0a093e73
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,7 @@ class LookupTest < GeocoderTestCase
url = Geocoder::Lookup.get(l).query_url(Geocoder::Query.new(
"test", :params => {:one_in_the_hand => "two in the bush"}
))
# should be "+"s for all lookups
assert_match(/one_in_the_hand=two(%20|\+)in(%20|\+)the(%20|\+)bush/, url,
assert_match(/one_in_the_hand=two\+in\+the\+bush/, url,
"Lookup #{l} does not appear to support arbitrary params in URL")
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