diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-07-06 01:02:33 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-07-06 01:02:33 +0000 |
commit | b38de1f5e27b1cdf30af730180daf158211e2ff2 (patch) | |
tree | 289a20067709a1895d57400a366bcc2e70bed34a /test/unit/issue_test.rb | |
parent | 7ee06dfe0809f5de646ede7c5eba4fa34aec520a (diff) | |
download | redmine-b38de1f5e27b1cdf30af730180daf158211e2ff2.tar.gz redmine-b38de1f5e27b1cdf30af730180daf158211e2ff2.zip |
gender neutral source comment at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11992 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_test.rb')
-rw-r--r-- | test/unit/issue_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 6b6b59b80..ecebb262e 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -267,7 +267,7 @@ class IssueTest < ActiveSupport::TestCase def test_visible_scope_for_member user = User.find(9) - # User should see issues of projects for which he has view_issues permissions only + # User should see issues of projects for which user has view_issues permissions only Role.non_member.remove_permission!(:view_issues) Member.create!(:principal => user, :project_id => 3, :role_ids => [2]) issues = Issue.visible(user).all @@ -306,7 +306,7 @@ class IssueTest < ActiveSupport::TestCase assert user.projects.empty? issues = Issue.visible(user).all assert issues.any? - # Admin should see issues on private projects that he does not belong to + # Admin should see issues on private projects that admin does not belong to assert issues.detect {|issue| !issue.project.is_public?} # Admin should see private issues of other users assert issues.detect {|issue| issue.is_private? && issue.author != user} |