From a5e6235b0117ffc068d29899c6aebaca3b04b1d5 Mon Sep 17 00:00:00 2001 From: klemens Date: Sat, 1 Apr 2017 18:55:25 +0200 Subject: [PATCH] spelling fixes --- app/controllers/account_controller.rb | 2 +- app/controllers/application_controller.rb | 2 +- app/controllers/comments_controller.rb | 2 +- app/models/enumeration.rb | 6 +-- app/models/member.rb | 2 +- app/models/repository/cvs.rb | 4 +- config/application.rb | 2 +- doc/CHANGELOG | 48 +++++++++++----------- extra/mail_handler/rdm-mailhandler.rb | 4 +- extra/svn/Redmine.pm | 2 +- lib/SVG/Graph/Graph.rb | 2 +- lib/SVG/Graph/Schedule.rb | 4 +- .../lib/acts_as_activity_provider.rb | 2 +- lib/plugins/acts_as_versioned/CHANGELOG | 2 +- lib/redmine/sudo_mode.rb | 2 +- lib/tasks/locales.rake | 2 +- test/unit/lib/redmine/helpers/gantt_test.rb | 2 +- test/unit/user_test.rb | 6 +-- 18 files changed, 48 insertions(+), 48 deletions(-) diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index f986032..6bd7e02 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -42,7 +42,7 @@ class AccountController < ApplicationController authenticate_user end rescue AuthSourceException => e - logger.error "An error occured when authenticating #{params[:username]}: #{e.message}" + logger.error "An error occurred when authenticating #{params[:username]}: #{e.message}" render_error :message => e.message end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 73e3326..d3f549e 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -646,7 +646,7 @@ class ApplicationController < ActionController::Base render_error "An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator." end - # Renders a 200 response for successfull updates or deletions via the API + # Renders a 200 response for successful updates or deletions via the API def render_api_ok render_api_head :ok end diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 9544caa..20cde94 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -43,7 +43,7 @@ class CommentsController < ApplicationController private # ApplicationController's find_model_object sets it based on the controller - # name so it needs to be overriden and set to @news instead + # name so it needs to be overridden and set to @news instead def find_model_object super @news = @object diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb index fc84861..7b20394 100644 --- a/app/models/enumeration.rb +++ b/app/models/enumeration.rb @@ -136,7 +136,7 @@ class Enumeration < ActiveRecord::Base end # Overrides Redmine::Acts::Positioned#set_default_position so that enumeration overrides - # get the same position as the overriden enumeration + # get the same position as the overridden enumeration def set_default_position if position.nil? && parent self.position = parent.position @@ -145,7 +145,7 @@ class Enumeration < ActiveRecord::Base end # Overrides Redmine::Acts::Positioned#update_position so that overrides get the same - # position as the overriden enumeration + # position as the overridden enumeration def update_position super if position_changed? @@ -159,7 +159,7 @@ class Enumeration < ActiveRecord::Base end # Overrides Redmine::Acts::Positioned#remove_position so that enumeration overrides - # get the same position as the overriden enumeration + # get the same position as the overridden enumeration def remove_position if parent_id.blank? super diff --git a/app/models/member.rb b/app/models/member.rb index d709f5f..24376d3 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -194,7 +194,7 @@ class Member < ActiveRecord::Base members end - # Finds or initilizes a Member for the given project and principal + # Finds or initializes a Member for the given project and principal def self.find_or_new(project, principal) project_id = project.is_a?(Project) ? project.id : project principal_id = principal.is_a?(Principal) ? principal.id : principal diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb index 565c3b3..ca0be52 100644 --- a/app/models/repository/cvs.rb +++ b/app/models/repository/cvs.rb @@ -151,7 +151,7 @@ class Repository::Cvs < Repository # create a new changeset.... unless cs # we use a temporary revision number here (just for inserting) - # later on, we calculate a continous positive number + # later on, we calculate a continuous positive number tmp_time2 = tmp_time.clone.gmtime branch = revision.paths[0][:branch] scmid = branch + "-" + tmp_time2.strftime("%Y%m%d-%H%M%S") @@ -163,7 +163,7 @@ class Repository::Cvs < Repository :comments => revision.message) tmp_rev_num += 1 end - # convert CVS-File-States to internal Action-abbrevations + # convert CVS-File-States to internal Action-abbreviations # default action is (M)odified action = "M" if revision.paths[0][:action] == "Exp" && revision.paths[0][:revision] == "1.1" diff --git a/config/application.rb b/config/application.rb index 965edce..e1a416a 100644 --- a/config/application.rb +++ b/config/application.rb @@ -47,7 +47,7 @@ module RedmineApp # Do not include all helpers config.action_controller.include_all_helpers = false - # Do not supress errors in after_rollback and after_commit callbacks + # Do not suppress errors in after_rollback and after_commit callbacks config.active_record.raise_in_transactional_callbacks = true # XML parameter parser removed from core in Rails 4.0 diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 0e70699..54a843a 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -60,7 +60,7 @@ http://www.redmine.org/ * Patch #23764: closed_on field of copied issue is always set to source issue's value * Patch #23269: Fix for Error: Unable to autoload constant Redmine::Version when accessing the time report in first request * Patch #23278: When creating issues by receiving an email, watchers created via CC in the mail don't get an email notification -* Patch #23389: Print Styles get overriden by responsive media query +* Patch #23389: Print Styles get overridden by responsive media query * Patch #23708: Too long words in subtasks break layout * Patch #23883: iOS 10 ignore disabled Zoom * Patch #23134: Updated Korean locale @@ -82,7 +82,7 @@ http://www.redmine.org/ * Defect #12893: Copying an issue does not copy parent task id * Defect #13654: Can't set parent issue when issue relations among child issues are present * Defect #15777: Watched issues count on "My page" is shown for all issues instead of only open ones -* Defect #17580: After copying a task, setting the parent as the orignal task's parent triggers an error +* Defect #17580: After copying a task, setting the parent as the original task's parent triggers an error * Defect #19924: Adding subtask takes very long * Defect #20882: % done: progress bar blocked at 80 in the issue list * Defect #21037: Issue show : bullet points not aligned if sub-task is in a different project @@ -238,11 +238,11 @@ http://www.redmine.org/ * Defect #21775: Field "Done" from issue subtasks table overlaps the layout in responsive mode, width 400 * Defect #22108: Issues filter for CSV Export are not applied * Defect #22178: Grouping issues by key/value custom field raises error 500 -* Feature #21447: Option to show email adresses by default -* Patch #21650: Simplified Chinese translation of wiki formating for 2.6-stable +* Feature #21447: Option to show email addresses by default +* Patch #21650: Simplified Chinese translation of wiki formatting for 2.6-stable * Patch #21881: Russian wiki translation for 2.6-stable * Patch #21898: Catalan wiki translation for 2.6-stable -* Patch #21456: Simplified Chinese translation of wiki formating for 3.1-stable +* Patch #21456: Simplified Chinese translation of wiki formatting for 3.1-stable * Patch #21686: Russian translation for 3.1-stable * Patch #21687: German translations for 3.1-stable * Patch #21689: Turkish translation for 3.1-stable @@ -385,7 +385,7 @@ http://www.redmine.org/ * Patch #20785: Polish translation update for 3.1-stable * Patch #20837: Bulgarian translation * Patch #20892: Spanish translation for r14637 -* Patch #20906: Fix mulitple tab navigation highlighting and content hiding +* Patch #20906: Fix multiple tab navigation highlighting and content hiding * Patch #21019: Traditional Chinese translation (to r14689) * Patch #21076: Move inline CSS to application.css for private checkbox * Patch #21085: Optimize issue edit description link @@ -511,7 +511,7 @@ http://www.redmine.org/ * Defect #19405: Setting config.logger.level in additional_environment.rb has no effect * Defect #19464: Possible to log time on project without time tracking * Defect #19482: Custom field (long text format) displayed even if empty -* Defect #19537: Broken HTML sanitizer refence breaks email receiving +* Defect #19537: Broken HTML sanitizer reference breaks email receiving * Defect #19544: Malformed SQL query with SQLServer when grouping issues * Defect #19553: When create by copying the issue, status can not be changed to default * Defect #19558: Mail handler should not ignore emails with x-auto-response-suppress header @@ -545,8 +545,8 @@ http://www.redmine.org/ == 2015-02-19 v3.0.0 * Defect #2573: Latest projects list: no space after lists in project description -* Defect #6579: Tree hierachy being currupted on multiple submissions of an issue -* Defect #14151: Grammer problem with German x_days +* Defect #6579: Tree hierarchy being currupted on multiple submissions of an issue +* Defect #14151: Grammar problem with German x_days * Defect #15789: Users can see all groups when adding a filter "Assignee's Group" * Defect #15988: Unexpected behaviour on issue fields for users that have multiple roles * Defect #18237: From a rake task context, impossible to create an IssueRelation normally @@ -850,7 +850,7 @@ http://www.redmine.org/ * Defect #13544: Commit reference: autogenerated issue note has wrong commit link syntax in multi-repo or cross-project context * Defect #15664: Unable to upload attachments without add_issues, edit_issues or add_issue_notes permission * Defect #15756: 500 on admin info/settings page on development environment -* Defect #15781: Customfields have a noticable impact on search performance due to slow database COUNT +* Defect #15781: Customfields have a noticeable impact on search performance due to slow database COUNT * Defect #15849: Redmine:Fetch_Changesets Single-inheritance issue in subclass "Repository:Git" * Defect #15870: Parent task completion is 104% after update of subtasks * Defect #16032: Repository.fetch_changesets > app/models/repository/git.rb:137:in `[]=': string not matched (IndexError) @@ -1282,7 +1282,7 @@ It is in v2.5.0. * Feature #12299: Redmine version requirement improvements (in plugins) * Feature #12393: Upgrade to Rails 3.2.9 * Feature #12475: Lazy loading of translation files for faster startup -* Patch #11846: Fill username when authentification failed +* Patch #11846: Fill username when authentication failed * Patch #11862: Add "last 2 weeks" preset to time entries reporting * Patch #11992: Japanese translation about issue relations improved * Patch #12027: Incorrect Spanish "September" month name @@ -1378,7 +1378,7 @@ It is in v2.5.0. * Defect #11503: Accessing /projects/:project/wiki/something.png fails with error 500 * Defect #11506: Versions that are not shared should not be assignable when selecting another project * Defect #11508: Projects not ordered alphabetically after renaming project -* Defect #11540: Roadmap anchor links can be ambigous +* Defect #11540: Roadmap anchor links can be ambiguous * Defect #11545: Overwriting existing method Issue.open * Defect #11552: MailHandler does not match assignee name with spaces * Defect #11571: Custom fields of type version not proper handled in receiving e-mails @@ -1616,7 +1616,7 @@ It is in v2.5.0. * Feature #10350: Bulk copy should allow for changing the target version * Feature #10607: Ignore out-of-office incoming emails * Feature #10635: Adding time like "123 Min" is invalid -* Patch #9998: Make attachement "Optional Description" less wide +* Patch #9998: Make attachment "Optional Description" less wide * Patch #10066: i18n not working with russian gem * Patch #10128: Disable IE 8 compatibility mode to fix wrong div.autoscroll scroll bar behaviour * Patch #10155: Russian translation changed @@ -1676,7 +1676,7 @@ It is in v2.5.0. * Defect #2109: Context menu is being submitted twice per right click * Defect #7717: MailHandler user creation for unknown_user impossible due to diverging length-limits of login and email fields -* Defect #7917: Creating users via email fails if user real name containes special chars +* Defect #7917: Creating users via email fails if user real name contains special chars * Defect #7966: MailHandler does not include JournalDetail for attached files * Defect #8368: Bad decimal separator in time entry CSV * Defect #8371: MySQL error when filtering a custom field using the REST api @@ -2070,7 +2070,7 @@ It is in v2.5.0. == 2010-12-23 v1.0.5 * #6656: Mercurial adapter loses seconds of commit times -* #6996: Migration trac(sqlite3) -> redmine(postgresql) doesnt escape ' char +* #6996: Migration trac(sqlite3) -> redmine(postgresql) doesn't escape ' char * #7013: v-1.0.4 trunk - see {{count}} in page display rather than value * #7016: redundant 'field_start_date' in ja.yml * #7018: 'undefined method `reschedule_after' for nil:NilClass' on new issues @@ -2232,7 +2232,7 @@ It is in v2.5.0. * #6153: Move view_calendar and view_gantt to own modules * #6169: Add issue status to issue tooltip * Fixed #3834: Add a warning when not choosing a member role -* Fixed #3922: Bad english arround "Assigned to" text in journal entries +* Fixed #3922: Bad english around "Assigned to" text in journal entries * Fixed #5158: Simplified Chinese language file zh.yml updated to r3608 * Fixed #5162: translation missing: zh-TW, field_time_entrie * Fixed #5297: openid not validated correctly @@ -2240,7 +2240,7 @@ It is in v2.5.0. * Fixed #5760: Assigned_to and author filters in "Projects>View all issues" should be based on user's project visibility * Fixed #5771: Problem when importing git repository * Fixed #5775: ldap authentication in admin menu should have an icon -* Fixed #5811: deleting statuses doesnt delete workflow entries +* Fixed #5811: deleting statuses doesn't delete workflow entries * Fixed #5834: Emails with trailing spaces incorrectly detected as invalid * Fixed #5846: ChangeChangesPathLengthLimit does not remove default for MySQL * Fixed #5861: Vertical scrollbar always visible in Wiki "code" blocks in Chrome. @@ -2331,7 +2331,7 @@ It is in v2.5.0. * Fixed #5696: Redmine + PostgreSQL 8.4.4 fails on _dir_list_content.rhtml * Fixed #5698: redmine:email:receive_imap fails silently for mails with subject longer than 255 characters * Fixed #5700: TimelogController#destroy assumes success -* Fixed #5751: developer role is mispelled +* Fixed #5751: developer role is misspelled * Fixed #5769: Popup Calendar doesn't Advance in Chrome * Fixed #5771: Problem when importing git repository * Fixed #5823: Error in comments in plugin.rb @@ -2844,7 +2844,7 @@ It is in v2.5.0. * Fixed: Git Adapter date parsing ignores timezone * Fixed: Printing long roadmap doesn't split across pages * Fixes custom fields display order at several places -* Fixed: urls containing @ are parsed as email adress by the wiki formatter +* Fixed: urls containing @ are parsed as email address by the wiki formatter * Fixed date filters accuracy with SQLite * Fixed: tokens not escaped in highlight_tokens regexp * Fixed Bazaar shared repository browsing @@ -2883,7 +2883,7 @@ It is in v2.5.0. * Remove edit step from Status context menu * Fixed: No way to do textile horizontal rule * Fixed: Repository: View differences doesn't work -* Fixed: attachement's name maybe invalid. +* Fixed: attachment's name maybe invalid. * Fixed: Error when creating a new issue * Fixed: NoMethodError on @available_filters.has_key? * Fixed: Check All / Uncheck All in Email Settings @@ -3069,7 +3069,7 @@ It is in v2.5.0. * Fixed: Textile image with style attribute cause internal server error * Fixed: wiki TOC not rendered properly when used in an issue or document description * Fixed: 'has already been taken' error message on username and email fields if left empty -* Fixed: non-ascii attachement filename with IE +* Fixed: non-ascii attachment filename with IE * Fixed: wrong url for wiki syntax pop-up when Redmine urls are prefixed * Fixed: search for all words doesn't work * Fixed: Do not show sticky and locked checkboxes when replying to a message @@ -3371,7 +3371,7 @@ It is in v2.5.0. * settings are now stored in the database and editable through the application in: Admin -> Settings (config_custom.rb is no longer used) * added project roadmap view * mail notifications added when a document, a file or an attachment is added -* tooltips added on Gantt chart and calender to view the details of the issues +* tooltips added on Gantt chart and calendar to view the details of the issues * ability to set the sort order for roles, trackers, issue statuses * added missing fields to csv export: priority, start date, due date, done ratio * added total number of issues per tracker on project overview @@ -3403,7 +3403,7 @@ It is in v2.5.0. * simple SVN browser added (just needs svn binaries in PATH) * comments can now be added on news * "my page" is now customizable -* more powerfull and savable filters for issues lists +* more powerful and saveable filters for issues lists * improved issues change history * new functionality: move an issue to another project or tracker * new functionality: add a note to an issue @@ -3415,7 +3415,7 @@ It is in v2.5.0. * issues reports improvements * multiple file upload for issues, documents and files * option to set maximum size of uploaded files -* textile formating of issue and news descritions (RedCloth required) +* textile formatting of issue and news descritions (RedCloth required) * integration of DotClear jstoolbar for textile formatting * calendar date picker for date fields (LGPL DHTML Calendar http://sourceforge.net/projects/jscalendar) * new filter in issues list: Author diff --git a/extra/mail_handler/rdm-mailhandler.rb b/extra/mail_handler/rdm-mailhandler.rb index 5d4a106..cc8ad4f 100644 --- a/extra/mail_handler/rdm-mailhandler.rb +++ b/extra/mail_handler/rdm-mailhandler.rb @@ -117,7 +117,7 @@ Overrides: Examples: No project specified, emails MUST contain the 'Project' keyword, otherwise - they will be dropped (not recommanded): + they will be dropped (not recommended): rdm-mailhandler.rb --url http://redmine.domain.foo --key secret @@ -165,7 +165,7 @@ END_DESC begin response = Net::HTTPS.post_form(URI.parse(uri), data, headers, :no_check_certificate => no_check_certificate, :certificate_bundle => certificate_bundle) rescue SystemCallError, IOError => e # connection refused, etc. - warn "An error occured while contacting your Redmine server: #{e.message}" + warn "An error occurred while contacting your Redmine server: #{e.message}" return 75 # temporary failure end debug "Response received: #{response.code}" diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm index 2652cea..96b2aa6 100644 --- a/extra/svn/Redmine.pm +++ b/extra/svn/Redmine.pm @@ -58,7 +58,7 @@ Authen::Simple::LDAP (and IO::Socket::SSL if LDAPS is used): RedmineDbUser "redmine" RedmineDbPass "password" ## Optional where clause (fulltext search would be slow and - ## database dependant). + ## database dependent). # RedmineDbWhereClause "and members.role_id IN (1,2)" ## Optional credentials cache size # RedmineCacheCredsMax 50 diff --git a/lib/SVG/Graph/Graph.rb b/lib/SVG/Graph/Graph.rb index f048ac3..f5b0f61 100644 --- a/lib/SVG/Graph/Graph.rb +++ b/lib/SVG/Graph/Graph.rb @@ -234,7 +234,7 @@ module SVG # scales to fix the space. attr_accessor :width # Set the path to an external stylesheet, set to '' if - # you want to revert back to using the defaut internal version. + # you want to revert back to using the default internal version. # # To create an external stylesheet create a graph using the # default internal version and copy the stylesheet section to diff --git a/lib/SVG/Graph/Schedule.rb b/lib/SVG/Graph/Schedule.rb index 70bb519..87d12cb 100644 --- a/lib/SVG/Graph/Schedule.rb +++ b/lib/SVG/Graph/Schedule.rb @@ -51,7 +51,7 @@ module SVG # # = Notes # - # The default stylesheet handles upto 10 data sets, if you + # The default stylesheet handles up to 10 data sets, if you # use more you must create your own stylesheet and add the # additional settings for the extra data sets. You will know # if you go over 10 data sets as they will have no style and @@ -138,7 +138,7 @@ module SVG # Note that the data must be in time,value pairs, and that the date format # may be any date that is parseable by ParseDate. # Also note that, in this example, we're mixing scales; the data from d1 - # will probably not be discernable if both data sets are plotted on the same + # will probably not be discernible if both data sets are plotted on the same # graph, since d1 is too granular. def add_data data @data = [] unless @data diff --git a/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb b/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb index 8f65eb7..8cdd91b 100644 --- a/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb +++ b/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb @@ -48,7 +48,7 @@ module Redmine end module ClassMethods - # Returns events of type event_type visible by user that occured between from and to + # Returns events of type event_type visible by user that occurred between from and to def find_events(event_type, user, from, to, options) provider_options = activity_provider_options[event_type] raise "#{self.name} can not provide #{event_type} events." if provider_options.nil? diff --git a/lib/plugins/acts_as_versioned/CHANGELOG b/lib/plugins/acts_as_versioned/CHANGELOG index a5d339c..62342b6 100644 --- a/lib/plugins/acts_as_versioned/CHANGELOG +++ b/lib/plugins/acts_as_versioned/CHANGELOG @@ -21,7 +21,7 @@ *0.3.1* -* (7 Jan 2006) explicitly set :foreign_key option for the versioned model's belongs_to assocation for STI [Caged] +* (7 Jan 2006) explicitly set :foreign_key option for the versioned model's belongs_to association for STI [Caged] * (7 Jan 2006) added tests to prove has_many :through joins work *0.3* diff --git a/lib/redmine/sudo_mode.rb b/lib/redmine/sudo_mode.rb index c853100..eddbc04 100644 --- a/lib/redmine/sudo_mode.rb +++ b/lib/redmine/sudo_mode.rb @@ -183,7 +183,7 @@ module Redmine # # Calling this method also turns was_used? to true, therefore # it is important to only call this when sudo is actually needed, as the last - # condition to determine wether a change can be done or not. + # condition to determine whether a change can be done or not. # # If you do it wrong, timeout of the sudo mode will happen too late or not at # all. diff --git a/lib/tasks/locales.rake b/lib/tasks/locales.rake index 7d2ecfe..028a251 100644 --- a/lib/tasks/locales.rake +++ b/lib/tasks/locales.rake @@ -111,7 +111,7 @@ END_DESC files.each do |path| # Skip certain locales (puts "Skipping #{path}"; next) if File.basename(path, ".yml") =~ skips - # TODO: Check for dupliate/existing keys + # TODO: Check for duplicate/existing keys puts "Adding #{key_list} to #{path}" File.open(path, 'a') do |file| adds.each do |kv| diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb index eb1338a..fda2948 100644 --- a/test/unit/lib/redmine/helpers/gantt_test.rb +++ b/test/unit/lib/redmine/helpers/gantt_test.rb @@ -59,7 +59,7 @@ class Redmine::Helpers::GanttHelperTest < Redmine::HelperTest assert_equal 2, @gantt.number_of_rows end - test "#number_of_rows with no project should return the total number of rows for all the projects, resursively" do + test "#number_of_rows with no project should return the total number of rows for all the projects, recursively" do p1, p2 = Project.generate!, Project.generate! create_gantt(nil) # fix the return value of #number_of_rows_on_project() to an arbitrary value diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index ebc7d65..655a8af 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) -- 2.1.4