Use POST/DELETE to watch/unwatch an item.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11343 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -44,7 +44,7 @@ class RoutingWatchersTest < ActionController::IntegrationTest
|
||||
{ :controller => 'watchers', :action => 'watch' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/watchers/unwatch" },
|
||||
{ :method => 'delete', :path => "/watchers/watch" },
|
||||
{ :controller => 'watchers', :action => 'unwatch' }
|
||||
)
|
||||
assert_routing(
|
||||
|
||||
Reference in New Issue
Block a user