X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8bfb5cae8ad5aa2973349b128baa06d8b5ee5e7b..d9e4e5836f69f2d5b2e845d79e04927cb783fbc3:/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 # -------------------------------------