Moved ProjectsController#list_news to NewsController#index.

Removed FeedsController, issues and news feeds are now handled by issues and news controllers.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@888 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-11-05 22:22:51 +00:00
parent 8509cf80f0
commit ad68a82be1
17 changed files with 61 additions and 326 deletions
@@ -65,13 +65,6 @@ class ProjectsControllerTest < Test::Unit::TestCase
# check that the issues were updated
assert_equal [7, 7], Issue.find_all_by_id([1, 2]).collect {|i| i.priority.id}
assert_equal 'Bulk editing', Issue.find(1).journals.find(:first, :order => 'created_on DESC').notes
end
def test_list_news
get :list_news, :id => 1
assert_response :success
assert_template 'list_news'
assert_not_nil assigns(:newss)
end
def test_list_files