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

Add test for sanitized_text method with Array.

parent 21ea2d2e
No related branches found
No related tags found
No related merge requests found
......@@ -44,4 +44,9 @@ class QueryTest < Test::Unit::TestCase
assert !Geocoder::Query.new("127 Main St.").loopback_ip_address?
assert !Geocoder::Query.new("John Doe\n127 Main St.\nAnywhere, USA").loopback_ip_address?
end
def test_sanitized_text_with_array
q = Geocoder::Query.new([43.1313,11.3131])
assert_equal "43.1313,11.3131", q.sanitized_text
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