summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-24 13:03:14 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-24 13:03:14 +0000
commit4b8ceb51e2108eab3c435245371bd3f05cf7b0c1 (patch)
tree5aae07e0f3def931a403a3079a1c4aa25b1962a6 /test/integration
parentcf2ad74ec734844f1f2a2f3e2156e0b555c855a4 (diff)
downloadredmine-4b8ceb51e2108eab3c435245371bd3f05cf7b0c1.tar.gz
redmine-4b8ceb51e2108eab3c435245371bd3f05cf7b0c1.zip
test: route: move versions test in projects test to routing/versions_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8351 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/versions_test.rb4
-rw-r--r--test/integration/routing_test.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/routing/versions_test.rb b/test/integration/routing/versions_test.rb
index 00176fc90..01cf2e99f 100644
--- a/test/integration/routing/versions_test.rb
+++ b/test/integration/routing/versions_test.rb
@@ -21,6 +21,10 @@ class RoutingVersionsTest < ActionController::IntegrationTest
def test_versions
# /projects/foo/versions is /projects/foo/roadmap
assert_routing(
+ { :method => 'get', :path => "/projects/33/roadmap" },
+ { :controller => 'versions', :action => 'index', :project_id => '33' }
+ )
+ assert_routing(
{ :method => 'get', :path => "/projects/foo/versions.xml" },
{ :controller => 'versions', :action => 'index',
:project_id => 'foo', :format => 'xml' }
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb
index 0fee33da8..4209627c1 100644
--- a/test/integration/routing_test.rb
+++ b/test/integration/routing_test.rb
@@ -339,10 +339,6 @@ class RoutingTest < ActionController::IntegrationTest
:tab => 'members' }
)
assert_routing(
- { :method => 'get', :path => "/projects/33/roadmap" },
- { :controller => 'versions', :action => 'index', :project_id => '33' }
- )
- assert_routing(
{ :method => 'post', :path => "/projects" },
{ :controller => 'projects', :action => 'create' }
)