X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5f2a5cadcb693b34b81a9232b8879c3b4f12843d..64859303f6ce0aaebee599ad5d62d799845fb6c9:/test/controllers/export_controller_test.rb diff --git a/test/controllers/export_controller_test.rb b/test/controllers/export_controller_test.rb index 64d5a6866..7f7b4ee8c 100644 --- a/test/controllers/export_controller_test.rb +++ b/test/controllers/export_controller_test.rb @@ -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 ###