Removed calls to deprecated Project.visible_by method.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5328 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-04-05 12:57:18 +00:00
parent 2b8d32a30e
commit 5f7f69e214
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class ProjectsControllerTest < ActionController::TestCase
assert_response :success
assert_template 'common/feed.atom.rxml'
assert_select 'feed>title', :text => 'Redmine: Latest projects'
assert_select 'feed>entry', :count => Project.count(:conditions => Project.visible_by(User.current))
assert_select 'feed>entry', :count => Project.count(:conditions => Project.visible_condition(User.current))
end
context "#index" do