]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/trace_controller_test.rb
Fix incorrect interpolation variable
[rails.git] / test / functional / trace_controller_test.rb
index aca2a59d835dba6ce126d6a0a3307f9ccccae9a9..8ff29c4377af083a91ce50d9aedcdea47fb0ae85 100644 (file)
@@ -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" }