mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Explicitly declare all routes and deactivate default route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -468,13 +468,6 @@ class ProjectsControllerTest < ActionController::TestCase
|
||||
:attributes => {:name => 'project[enabled_module_names][]', :value => 'issue_tracking'}
|
||||
end
|
||||
|
||||
def test_get_copy_without_project
|
||||
@request.session[:user_id] = 1 # admin
|
||||
get :copy
|
||||
assert_response :redirect
|
||||
assert_redirected_to :controller => 'admin', :action => 'projects'
|
||||
end
|
||||
|
||||
def test_post_copy_should_copy_requested_items
|
||||
@request.session[:user_id] = 1 # admin
|
||||
CustomField.delete_all
|
||||
|
||||
Reference in New Issue
Block a user