diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-24 13:03:14 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-24 13:03:14 +0000 |
commit | 4b8ceb51e2108eab3c435245371bd3f05cf7b0c1 (patch) | |
tree | 5aae07e0f3def931a403a3079a1c4aa25b1962a6 /test/integration/routing/versions_test.rb | |
parent | cf2ad74ec734844f1f2a2f3e2156e0b555c855a4 (diff) | |
download | redmine-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/routing/versions_test.rb')
-rw-r--r-- | test/integration/routing/versions_test.rb | 4 |
1 files changed, 4 insertions, 0 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' } |