summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-04-02 03:34:44 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-04-02 03:34:44 +0000
commit6139e0033a0435f526f16b5df9b1e597402d3377 (patch)
tree2863f34c452528dfa9104d614970b7c6220d8434 /test/unit/user_test.rb
parentadce697d9964be3092b358ea5fc10b399964cb19 (diff)
downloadredmine-6139e0033a0435f526f16b5df9b1e597402d3377.tar.gz
redmine-6139e0033a0435f526f16b5df9b1e597402d3377.zip
spelling fixes (#25495)
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index ebc7d6532..655a8affc 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -1099,7 +1099,7 @@ class UserTest < ActiveSupport::TestCase
test "#allowed_to? for normal users" do
project = Project.find(1)
assert_equal true, @jsmith.allowed_to?(:delete_messages, project) #Manager
- assert_equal false, @dlopper.allowed_to?(:delete_messages, project) #Developper
+ assert_equal false, @dlopper.allowed_to?(:delete_messages, project) #Developer
end
test "#allowed_to? with empty array should return false" do
@@ -1114,7 +1114,7 @@ class UserTest < ActiveSupport::TestCase
end
test "#allowed_to? with with options[:global] should return true if user has one role with the permission" do
- @dlopper2 = User.find(5) #only Developper on a project, not Manager anywhere
+ @dlopper2 = User.find(5) #only Developer on a project, not Manager anywhere
@anonymous = User.find(6)
assert_equal true, @jsmith.allowed_to?(:delete_issue_watchers, nil, :global => true)
assert_equal false, @dlopper2.allowed_to?(:delete_issue_watchers, nil, :global => true)
@@ -1125,7 +1125,7 @@ class UserTest < ActiveSupport::TestCase
# this is just a proxy method, the test only calls it to ensure it doesn't break trivially
test "#allowed_to_globally?" do
- @dlopper2 = User.find(5) #only Developper on a project, not Manager anywhere
+ @dlopper2 = User.find(5) #only Developer on a project, not Manager anywhere
@anonymous = User.find(6)
assert_equal true, @jsmith.allowed_to_globally?(:delete_issue_watchers)
assert_equal false, @dlopper2.allowed_to_globally?(:delete_issue_watchers)