X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b5c72bb6d7416848cce62efde99341b6b99c5005..a2aa44e026f0f796f046a58d2ad3778e6e79f960:/test/controllers/diary_comments_controller_test.rb diff --git a/test/controllers/diary_comments_controller_test.rb b/test/controllers/diary_comments_controller_test.rb index 2ebf52d16..fa978d606 100644 --- a/test/controllers/diary_comments_controller_test.rb +++ b/test/controllers/diary_comments_controller_test.rb @@ -13,15 +13,15 @@ class DiaryCommentsControllerTest < ActionDispatch::IntegrationTest { :controller => "diary_comments", :action => "index", :display_name => "username" } ) assert_routing( - { :path => "/user/username/diary/1/newcomment", :method => :post }, + { :path => "/user/username/diary/1/comments", :method => :post }, { :controller => "diary_comments", :action => "create", :display_name => "username", :id => "1" } ) assert_routing( - { :path => "/user/username/diary/1/hidecomment/2", :method => :post }, + { :path => "/user/username/diary/1/comments/2/hide", :method => :post }, { :controller => "diary_comments", :action => "hide", :display_name => "username", :id => "1", :comment => "2" } ) assert_routing( - { :path => "/user/username/diary/1/unhidecomment/2", :method => :post }, + { :path => "/user/username/diary/1/comments/2/unhide", :method => :post }, { :controller => "diary_comments", :action => "unhide", :display_name => "username", :id => "1", :comment => "2" } )