X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05e533571649f846ee09e6e81431b5fc5fe3c01a..refs/heads/master:/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 ###