diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-05 12:57:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-05 12:57:18 +0000 |
commit | 5f7f69e2145924c39301d5ecb26f363a30a229d0 (patch) | |
tree | fe6eefd30b9efa72fd78d40786f5a3da11dcaaf1 /test | |
parent | 2b8d32a30e3d4c8808d50f9ca66ca19a84e9f411 (diff) | |
download | redmine-5f7f69e2145924c39301d5ecb26f363a30a229d0.tar.gz redmine-5f7f69e2145924c39301d5ecb26f363a30a229d0.zip |
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
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 |