Accept coordinates with a slash in search

This commit is contained in:
nertc 2024-07-02 14:17:23 +04:00
parent 7ce5dffb6d
commit 4b593412c2
2 changed files with 4 additions and 2 deletions

View file

@ -37,9 +37,11 @@ class GeocoderControllerTest < ActionDispatch::IntegrationTest
def test_identify_latlon_basic
[
"50.06773 14.37742",
"50.06773/14.37742",
"50.06773, 14.37742",
"+50.06773 +14.37742",
"+50.06773, +14.37742"
"+50.06773, +14.37742",
"+50.06773/+14.37742"
].each do |code|
latlon_check code, 50.06773, 14.37742
end