]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/export_controller_test.rb
Extract export.js static asset
[rails.git] / test / functional / export_controller_test.rb
index 75ed34a4aa1d403fcaed7e506690eaeff79377a2..8e4282b8f1b5c1e45058f9393ae1d191370c0972 100644 (file)
@@ -18,7 +18,7 @@ class ExportControllerTest < ActionController::TestCase
   def test_start
     xhr :get, :start
     assert_response :success
-    assert_template 'start'
+    assert_template 'export/_sidebar'
   end
   
   def test_finish_osm
@@ -30,10 +30,5 @@ class ExportControllerTest < ActionController::TestCase
     get :finish, {:minlon => 0, :minlat => 50, :maxlon => 1, :maxlat => 51, :format => 'mapnik', :mapnik_format => 'test', :mapnik_scale => '12'}
     assert_response :redirect
   end
-  
-  def test_finish_osmarender
-    get :finish, {:minlon => 0, :minlat => 50, :maxlon => 1, :maxlat => 51, :format => 'osmarender', :osmarender_format => 'test', :osmarender_zoom => '12'}
-    assert_response :redirect
-  end
-    
+
 end