X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/990f3eba4069f98a11d98f18b18d0e35bcf295f4..7f598ab412674ce5a78da98c54aa2fe2e4a05792:/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 # -------------------------------------