X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/990f3eba4069f98a11d98f18b18d0e35bcf295f4..f436a5cd2ba7f1e86c73fab06eae2e8da188f79f:/test/functional/old_way_controller_test.rb diff --git a/test/functional/old_way_controller_test.rb b/test/functional/old_way_controller_test.rb index 84f0e04b0..2e9ec8263 100644 --- a/test/functional/old_way_controller_test.rb +++ b/test/functional/old_way_controller_test.rb @@ -15,6 +15,10 @@ class OldWayControllerTest < ActionController::TestCase { :path => "/api/0.6/way/1/2", :method => :get }, { :controller => "old_way", :action => "version", :id => "1", :version => "2" } ) + assert_routing( + { :path => "/api/0.6/way/1/2/redact", :method => :post }, + { :controller => "old_way", :action => "redact", :id => "1", :version => "2" } + ) end # -------------------------------------