]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/site_controller_test.rb
Move changeset created/closed popup/feed strings to changesets locale
[rails.git] / test / controllers / site_controller_test.rb
index cc155155fb7673771cf6c35e6a51afd7cbbdc5d2..eff9ce0938182fab6512c06ccb54ba33b312d13a 100644 (file)
@@ -147,7 +147,7 @@ class SiteControllerTest < ActionDispatch::IntegrationTest
 
     get permalink_path(:code => "wBz3--", :changeset => 4)
     assert_response :redirect
-    assert_redirected_to :controller => :browse, :action => :changeset, :id => 4, :anchor => "map=3/4.8779296875/3.955078125"
+    assert_redirected_to changeset_path(:id => 4, :anchor => "map=3/4.8779296875/3.955078125")
   end
 
   # Test the key page