Fixed: activity shows updates of private issues (#8432).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5944 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-05-29 07:12:38 +00:00
parent add719687a
commit bf137818bb
3 changed files with 10 additions and 1 deletions
+3
View File
@@ -52,6 +52,9 @@ class ActivityTest < ActiveSupport::TestCase
assert events.include?(Message.find(5))
# Issue of a private project
assert !events.include?(Issue.find(4))
# Private issue and comment
assert !events.include?(Issue.find(14))
assert !events.include?(Journal.find(5))
end
def test_global_activity_logged_user