Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9082 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-03-04 12:43:55 +00:00
parent b06223738e
commit 7ec8a9a100
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class ProjectsControllerTest < ActionController::TestCase
def test_index_atom
get :index, :format => 'atom'
assert_response :success
assert_template 'common/feed.atom'
assert_template 'common/feed'
assert_select 'feed>title', :text => 'Redmine: Latest projects'
assert_select 'feed>entry', :count => Project.count(:conditions => Project.visible_condition(User.current))
end