X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/28726e5f11cb46add4e6b86eb9a958798b83c46a..2bd8cf1800f2dfb70b8a4aae53145b9b77a6cd23:/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 ###