Rails now defaults to using PATCH for updates
This commit is contained in:
parent
9ab8111022
commit
bd8d207ea4
2 changed files with 4 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue