X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8bfb5cae8ad5aa2973349b128baa06d8b5ee5e7b..d9e4e5836f69f2d5b2e845d79e04927cb783fbc3:/test/functional/old_node_controller_test.rb?ds=sidebyside diff --git a/test/functional/old_node_controller_test.rb b/test/functional/old_node_controller_test.rb index 899e101f9..ff776d67f 100644 --- a/test/functional/old_node_controller_test.rb +++ b/test/functional/old_node_controller_test.rb @@ -19,6 +19,10 @@ class OldNodeControllerTest < ActionController::TestCase { :path => "/api/0.6/node/1/2", :method => :get }, { :controller => "old_node", :action => "version", :id => "1", :version => "2" } ) + assert_routing( + { :path => "/api/0.6/node/1/2/redact", :method => :post }, + { :controller => "old_node", :action => "redact", :id => "1", :version => "2" } + ) end ##