diff options
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 |