X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4a97b041795fda381e24d41fdf94af9143a28591..e84ed734aae9eea6f970f203bd28d8f698588b97:/test/integration/short_links_test.rb?ds=sidebyside diff --git a/test/integration/short_links_test.rb b/test/integration/short_links_test.rb index 6b85554e2..d4f6f8abc 100644 --- a/test/integration/short_links_test.rb +++ b/test/integration/short_links_test.rb @@ -13,7 +13,7 @@ class ShortLinksTest < ActionController::IntegrationTest # utility method to test short links def assert_short_link_redirect(short_link) lon, lat, zoom = ShortLink::decode(short_link) - anchor = "#{zoom}/#{lat}/#{lon}" + anchor = "map=#{zoom}/#{lat}/#{lon}" # test without marker get '/go/' + short_link