)
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" }
)