diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-07-06 01:02:44 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-07-06 01:02:44 +0000 |
commit | 4545b906b4c58e2bd1d201fd18a49249aa571dfc (patch) | |
tree | 7dafb7057e84c2fce2a246d0b17d2f66025bdad4 /test/unit/journal_test.rb | |
parent | b38de1f5e27b1cdf30af730180daf158211e2ff2 (diff) | |
download | redmine-4545b906b4c58e2bd1d201fd18a49249aa571dfc.tar.gz redmine-4545b906b4c58e2bd1d201fd18a49249aa571dfc.zip |
gender neutral source comment at test/unit/journal_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11993 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/journal_test.rb')
-rw-r--r-- | test/unit/journal_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/journal_test.rb b/test/unit/journal_test.rb index 5d6e2d2ec..38d75d723 100644 --- a/test/unit/journal_test.rb +++ b/test/unit/journal_test.rb @@ -137,7 +137,7 @@ class JournalTest < ActiveSupport::TestCase user.reload journals = Journal.visible(user).all assert journals.empty? - # 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 Member.create!(:principal => user, :project_id => 1, :role_ids => [1]) user.reload journals = Journal.visible(user).all @@ -151,7 +151,7 @@ class JournalTest < ActiveSupport::TestCase assert user.projects.empty? journals = Journal.visible(user).all assert journals.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 journals.detect {|journal| !journal.issue.project.is_public?} end |