From: Matt Amos Date: Fri, 3 Jul 2009 11:19:23 +0000 (+0000) Subject: Fixed short link integration test so that it would have caught a bug in shortlink... X-Git-Tag: live~6881 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/feae60fb6940ee8c6983d29c0f23c2b55fefebc7?ds=sidebyside Fixed short link integration test so that it would have caught a bug in shortlink charset. --- diff --git a/test/integration/short_link_test.rb b/test/integration/short_link_test.rb index 91f939a52..3f2d65a27 100644 --- a/test/integration/short_link_test.rb +++ b/test/integration/short_link_test.rb @@ -6,7 +6,7 @@ class ShortLinkTest < ActionController::IntegrationTest # kept in the redirect. def test_short_link_params assert_short_link_redirect('1N8H@P_5W') - assert_short_link_redirect('euu4oTas==') + assert_short_link_redirect(ShortLink::encode(-0.107846, 51.50771, 18)) end ##