diff options
Diffstat (limited to 'test/integration/routing_test.rb')
-rw-r--r-- | test/integration/routing_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 0daaad6dc..4ce8fe4a7 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -160,7 +160,8 @@ class RoutingTest < ActionController::IntegrationTest should_route :post, "/projects/567/news", :controller => 'news', :action => 'create', :project_id => '567' should_route :post, "/news/567/destroy", :controller => 'news', :action => 'destroy', :id => '567' - + should_route :post, "/news/567/comments", :controller => 'comments', :action => 'create', :id => '567' + should_route :put, "/news/567/edit", :controller => 'news', :action => 'update', :id => '567' end |