X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8bfb5cae8ad5aa2973349b128baa06d8b5ee5e7b..4b669ec1ae7470f68a9e00b6caffcc4a44240b7a:/test/functional/old_relation_controller_test.rb diff --git a/test/functional/old_relation_controller_test.rb b/test/functional/old_relation_controller_test.rb index fa20e2fc9..55e8a7377 100644 --- a/test/functional/old_relation_controller_test.rb +++ b/test/functional/old_relation_controller_test.rb @@ -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 # -------------------------------------