diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-31 02:51:41 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-31 02:51:41 +0000 |
commit | ab60ce54f507b1e2d670508e1884dea066f8e0ce (patch) | |
tree | 94d590217970bc60b723314145ca0e1bba7e5daf | |
parent | e5cc53c19c171a7e9a7c19d25df8034cbe1578a8 (diff) | |
download | redmine-ab60ce54f507b1e2d670508e1884dea066f8e0ce.tar.gz redmine-ab60ce54f507b1e2d670508e1884dea066f8e0ce.zip |
test: route: split roadmap test in versions test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8444 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/integration/routing/versions_test.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/integration/routing/versions_test.rb b/test/integration/routing/versions_test.rb index 932a9c5f5..7fadd5e5f 100644 --- a/test/integration/routing/versions_test.rb +++ b/test/integration/routing/versions_test.rb @@ -18,12 +18,15 @@ require File.expand_path('../../../test_helper', __FILE__) class RoutingVersionsTest < ActionController::IntegrationTest - def test_versions_scoped_under_project + def test_roadmap # /projects/foo/versions is /projects/foo/roadmap assert_routing( { :method => 'get', :path => "/projects/33/roadmap" }, { :controller => 'versions', :action => 'index', :project_id => '33' } ) + end + + def test_versions_scoped_under_project assert_routing( { :method => 'put', :path => "/projects/foo/versions/close_completed" }, { :controller => 'versions', :action => 'close_completed', |