]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/export_controller_test.rb
Tidy up geocoder tests and extend lat/lon detection tests
[rails.git] / test / functional / export_controller_test.rb
index 6b49700d80ddda6c2f3ef12125bbbffaa9b9d147..61a307643414f212a506c188038d72fce6f37c07 100644 (file)
@@ -13,12 +13,16 @@ class ExportControllerTest < ActionController::TestCase
       { :path => "/export/finish", :method => :post },
       { :controller => "export", :action => "finish" }
     )
+    assert_routing(
+      { :path => "/export/embed", :method => :get },
+      { :controller => "export", :action => "embed" }
+    )
   end
 
   def test_start
     xhr :get, :start
     assert_response :success
-    assert_template 'start'
+    assert_template 'export/start'
   end
   
   def test_finish_osm