X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/26f6fdf82c93b0fd3198bb8929d5f20a4723bfe8..a05de1e0a73ba8bdd101d63e1de981691d8e1e55:/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" } )