Moved ProjectsController#list_documents and add_document to DocumentsController#index and new.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1011 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-12-18 18:50:41 +00:00
parent 524cd689cf
commit 8e00f57a88
8 changed files with 109 additions and 45 deletions
@@ -92,13 +92,6 @@ class ProjectsControllerTest < Test::Unit::TestCase
assert_nil Project.find_by_id(1)
end
def test_list_documents
get :list_documents, :id => 1
assert_response :success
assert_template 'list_documents'
assert_not_nil assigns(:grouped)
end
def test_bulk_edit_issues
@request.session[:user_id] = 2
# update issues priority