X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8f126bcf6d53417d49b9cdd933714421fb8925c..4729163aa8e9bf6a7c9f12a8fcd77e6b632e9d80:/test/integration/short_links_test.rb diff --git a/test/integration/short_links_test.rb b/test/integration/short_links_test.rb index 6b85554e2..aec204e71 100644 --- a/test/integration/short_links_test.rb +++ b/test/integration/short_links_test.rb @@ -1,6 +1,6 @@ require File.dirname(__FILE__) + '/../test_helper' -class ShortLinksTest < ActionController::IntegrationTest +class ShortLinksTest < ActionDispatch::IntegrationTest ## # test the short link with various parameters and ensure they're # kept in the redirect. @@ -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