Fix various routing and route generation errors
This commit is contained in:
parent
6391ea5a7a
commit
58d889436f
11 changed files with 32 additions and 24 deletions
|
@ -33,6 +33,10 @@ class MessageControllerTest < ActionController::TestCase
|
|||
{ :path => "/message/reply/1", :method => :get },
|
||||
{ :controller => "message", :action => "reply", :message_id => "1" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/message/reply/1", :method => :post },
|
||||
{ :controller => "message", :action => "reply", :message_id => "1" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/message/delete/1", :method => :post },
|
||||
{ :controller => "message", :action => "delete", :message_id => "1" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue