X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b8f126bcf6d53417d49b9cdd933714421fb8925c..b7e795e1e18c91ce9be79cc8d0d773e5588fe847:/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