summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/watchers_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/routing/watchers_test.rb')
-rw-r--r--test/integration/routing/watchers_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/routing/watchers_test.rb b/test/integration/routing/watchers_test.rb
index 39ef5a786..eb6a62163 100644
--- a/test/integration/routing/watchers_test.rb
+++ b/test/integration/routing/watchers_test.rb
@@ -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(