diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-20 15:42:57 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-20 15:42:57 +0000 |
commit | 0fc884cf422356a2b57131daaa3340fd9da91b46 (patch) | |
tree | ae5953b3fe27844f63e29845ceb01c9308658108 /test/functional/versions_controller_test.rb | |
parent | 657aa624a4e3ae6fca7148d13b08319031cf8380 (diff) | |
download | redmine-0fc884cf422356a2b57131daaa3340fd9da91b46.tar.gz redmine-0fc884cf422356a2b57131daaa3340fd9da91b46.zip |
Move more routing tests into the routing integration test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3686 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/versions_controller_test.rb')
-rw-r--r-- | test/functional/versions_controller_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/functional/versions_controller_test.rb b/test/functional/versions_controller_test.rb index 46a5db916..e4864c908 100644 --- a/test/functional/versions_controller_test.rb +++ b/test/functional/versions_controller_test.rb @@ -40,17 +40,6 @@ class VersionsControllerTest < ActionController::TestCase assert_tag :tag => 'h2', :content => /1.0/ end - def test_new_routing - assert_routing( - {:method => :get, :path => 'projects/foo/versions/new'}, - :controller => 'versions', :action => 'new', :project_id => 'foo' - ) - assert_routing( - {:method => :post, :path => 'projects/foo/versions/new'}, - :controller => 'versions', :action => 'new', :project_id => 'foo' - ) - end - def test_new @request.session[:user_id] = 2 # manager assert_difference 'Version.count' do |