X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/250fbf556a4bbbdb92ec9551c602bb708323e83b..740ba0dd38afbb1f67605b5cf04942191f5b8e4f:/test/functional/user_controller_test.rb diff --git a/test/functional/user_controller_test.rb b/test/functional/user_controller_test.rb index 4379a1d49..e85308183 100644 --- a/test/functional/user_controller_test.rb +++ b/test/functional/user_controller_test.rb @@ -140,11 +140,11 @@ class UserControllerTest < ActionController::TestCase ) assert_routing( - { :path => "/user/username/make_friend", :method => :get }, + { :path => "/user/username/make_friend", :method => :post }, { :controller => "user", :action => "make_friend", :display_name => "username" } ) assert_routing( - { :path => "/user/username/remove_friend", :method => :get }, + { :path => "/user/username/remove_friend", :method => :post }, { :controller => "user", :action => "remove_friend", :display_name => "username" } )