X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8bfb5cae8ad5aa2973349b128baa06d8b5ee5e7b..491da055847c0b0184016606c93a65eeae38ce80:/test/functional/old_relation_controller_test.rb?ds=sidebyside 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 # -------------------------------------