X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/90e46a58de583ac2bd7bb43077faa94186957a7a..9813d9f1e48d575bb0e0b5029dc0ec134a011090:/test/functional/trace_controller_test.rb diff --git a/test/functional/trace_controller_test.rb b/test/functional/trace_controller_test.rb index aca2a59d8..8ff29c437 100644 --- a/test/functional/trace_controller_test.rb +++ b/test/functional/trace_controller_test.rb @@ -140,6 +140,10 @@ class TraceControllerTest < ActionController::TestCase { :path => "/trace/1/edit", :method => :post }, { :controller => "trace", :action => "edit", :id => "1" } ) + assert_routing( + { :path => "/trace/1/edit", :method => :put }, + { :controller => "trace", :action => "edit", :id => "1" } + ) assert_routing( { :path => "/trace/1/delete", :method => :post }, { :controller => "trace", :action => "delete", :id => "1" }