Removed routes and routing spec

pull/310/head
Sebastian Schuster 11 years ago committed by Christian Ratz
parent 24aa7916aa
commit a249af53d8
  1. 2
      config/routes.rb
  2. 18
      test/integration/routing_test.rb

@ -141,8 +141,6 @@ OpenProject::Application.routes.draw do
resources :documents, :shallow => true
resources :files, :only => [:index, :new, :create]
resources :versions, :only => [:new, :create] do
collection do
put :close_completed

@ -652,24 +652,6 @@ class RoutingTest < ActionDispatch::IntegrationTest
# should route(:post, "/projects/redmine/repository/edit").to( :controller => 'repositories', :action => 'edit', :id => 'redmine')
end
context "files" do
context "project scoped" do
should route(:get, "/projects/33/files").to( :controller => 'files',
:action => 'index',
:project_id => '33' )
should route(:get, "/projects/33/files/new").to( :controller => 'files',
:action => 'new',
:project_id => '33' )
should route(:post, "/projects/33/files").to( :controller => 'files',
:action => 'create',
:project_id => '33' )
end
end
context "timelogs" do
should route(:get, "/time_entries").to( :controller => 'timelog',
:action => 'index' )

Loading…
Cancel
Save