diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-23 15:20:19 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-23 15:20:19 +0000 |
commit | 401197a895680f824f9aec9d82b25ae686e6b206 (patch) | |
tree | 13999265177f4b06ab44472c9e2dec9783debf3a /test/integration/routing_test.rb | |
parent | 4948121af054ff5e38854a52b29c5c48b0c4f3fa (diff) | |
download | redmine-401197a895680f824f9aec9d82b25ae686e6b206.tar.gz redmine-401197a895680f824f9aec9d82b25ae686e6b206.zip |
Refactor: move #destroy_comment method to CommentsController#destroy
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4172 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing_test.rb')
-rw-r--r-- | test/integration/routing_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 4ce8fe4a7..3376f9313 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -163,6 +163,8 @@ class RoutingTest < ActionController::IntegrationTest should_route :post, "/news/567/comments", :controller => 'comments', :action => 'create', :id => '567' should_route :put, "/news/567/edit", :controller => 'news', :action => 'update', :id => '567' + + should_route :delete, "/news/567/comments/15", :controller => 'comments', :action => 'destroy', :id => '567', :comment_id => '15' end context "projects" do |