]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/export_controller_test.rb
Merge remote-tracking branch 'upstream/pull/5613'
[rails.git] / test / controllers / export_controller_test.rb
index 64d5a686615e9d23988f759865eb872643b8bc4a..7f7b4ee8ce6cd2e27b267b483747a55476c7980a 100644 (file)
@@ -18,7 +18,7 @@ class ExportControllerTest < ActionDispatch::IntegrationTest
   # test the finish action for raw OSM data
   def test_finish_osm
     post export_finish_path(:minlon => 0, :minlat => 50, :maxlon => 1, :maxlat => 51, :format => "osm")
-    assert_redirected_to "controller" => "api/map", "action" => "index", "bbox" => "0.0,50.0,1.0,51.0"
+    assert_redirected_to api_map_path(:bbox => "0.0,50.0,1.0,51.0")
   end
 
   ###