]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/export_controller_test.rb
Use user factories for page_locale integration tests.
[rails.git] / test / controllers / export_controller_test.rb
index adf2fc4bad83256d2b1b25ea560eea95ddd11199..9d1c69e4dc61f96c3e1c21381c42ec61b12639b0 100644 (file)
@@ -19,7 +19,7 @@ class ExportControllerTest < ActionController::TestCase
   def test_finish_osm
     get :finish, :minlon => 0, :minlat => 50, :maxlon => 1, :maxlat => 51, :format => "osm"
     assert_response :redirect
-    assert_redirected_to "http://api.openstreetmap.org/api/#{API_VERSION}/map?bbox=0.0,50.0,1.0,51.0"
+    assert_redirected_to "controller" => "api", "action" => "map", "bbox" => "0.0,50.0,1.0,51.0"
   end
 
   ###