Fixed that delete watcher link was broken by r11290 (#13231).
Deleting a watcher now use DELETE /watchers instead of POST /watchers/destroy. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11443 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -32,7 +32,7 @@ class RoutingWatchersTest < ActionController::IntegrationTest
|
||||
{ :controller => 'watchers', :action => 'create' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/watchers/destroy" },
|
||||
{ :method => 'delete', :path => "/watchers" },
|
||||
{ :controller => 'watchers', :action => 'destroy' }
|
||||
)
|
||||
assert_routing(
|
||||
|
||||
Reference in New Issue
Block a user