summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-26 20:10:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-26 20:10:32 +0000
commit744d8669260b63a94f5cd41c6b79b8396dd47df3 (patch)
tree2a09615cf275853429925860143fbc9e700780f5 /test
parentaa87a73e413070799f450f496ad7a9d57a84a5a0 (diff)
downloadredmine-744d8669260b63a94f5cd41c6b79b8396dd47df3.tar.gz
redmine-744d8669260b63a94f5cd41c6b79b8396dd47df3.zip
Moved ProjectsController#list to ProjectsController#index.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1464 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/projects_controller_test.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index 82b5bdeb6..d4ce97dc2 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -35,13 +35,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
def test_index
get :index
assert_response :success
- assert_template 'list'
- end
-
- def test_list
- get :list
- assert_response :success
- assert_template 'list'
+ assert_template 'index'
assert_not_nil assigns(:project_tree)
# Root project as hash key
assert assigns(:project_tree).has_key?(Project.find(1))