]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/trace_controller_test.rb
Rails now defaults to using PATCH for updates
[rails.git] / test / functional / trace_controller_test.rb
index 600fd589f2da68d778ba30b4f50ba8e1b4fdff88..4c97a484921ea4e4d4ed0cdd9541131743857e3a 100644 (file)
@@ -141,7 +141,7 @@ class TraceControllerTest < ActionController::TestCase
       { :controller => "trace", :action => "edit", :id => "1" }
     )
     assert_routing(
-      { :path => "/trace/1/edit", :method => :put },
+      { :path => "/trace/1/edit", :method => :patch },
       { :controller => "trace", :action => "edit", :id => "1" }
     )
     assert_routing(