diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/projects_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 74912a764..12eb372e0 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -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 |