- get :permalink, :params => { :code => "wBz3--", :changeset => 4 }
- assert_response :redirect
- assert_redirected_to :controller => :browse, :action => :changeset, :id => 4, :anchor => "map=3/4.8779296875/3.955078125"
+ get permalink_path(:code => "wBz3--", :changeset => 4)
+ assert_redirected_to changeset_path(4, :anchor => "map=3/4.8779296875/3.955078125")