]> git.openstreetmap.org Git - rails.git/commitdiff
Fixed short link integration test so that it would have caught a bug in shortlink...
authorMatt Amos <zerebubuth@gmail.com>
Fri, 3 Jul 2009 11:19:23 +0000 (11:19 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Fri, 3 Jul 2009 11:19:23 +0000 (11:19 +0000)
test/integration/short_link_test.rb

index 91f939a529265ed786ced63a5131a9bb0026a8b9..3f2d65a27c323da7d5eb7be63a8ff56a03a1c9dd 100644 (file)
@@ -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
 
   ##