From ab60ce54f507b1e2d670508e1884dea066f8e0ce Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 31 Dec 2011 02:51:41 +0000 Subject: [PATCH] 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 --- test/integration/routing/versions_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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',