]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/old_relation_controller_test.rb
Use leaflet css for print
[rails.git] / test / functional / old_relation_controller_test.rb
index fa20e2fc953942375241a8ddbff429989df34952..55e8a7377afc5f1060a64427bd7bad87d60140e3 100644 (file)
@@ -15,6 +15,10 @@ class OldRelationControllerTest < ActionController::TestCase
       { :path => "/api/0.6/relation/1/2", :method => :get },
       { :controller => "old_relation", :action => "version", :id => "1", :version => "2" }
     )
+    assert_routing(
+      { :path => "/api/0.6/relation/1/2/redact", :method => :post },
+      { :controller => "old_relation", :action => "redact", :id => "1", :version => "2" }
+    )
   end
 
   # -------------------------------------