summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r23391 from trunk to 5.1-stable (#41961).Go MAEDA2024-12-121-0/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23405 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22542 from trunk to 5.1-stable (#39865).Go MAEDA2023-12-221-1/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22543 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22458, r22459, r22460, r22461, r22462 and r22464 from trunk to ↵Marius Balteanu2023-11-191-0/+4
| | | | | | 5.1-stable (#39437). git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/MapMethodChain (#37247).Go MAEDA2023-08-231-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#36919).Go MAEDA2023-06-291-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22264 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-011-3/+3
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Style/FileWrite offense introduced in RuboCop 1.24.0 (#35136).Go MAEDA2021-12-241-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop OpenID support (#35755).Go MAEDA2021-12-141-1/+0
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow parallel testing (#35030).Go MAEDA2021-04-061-0/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable TestAdapter on IntegrationTest (#29914, #32936).Go MAEDA2021-04-011-0/+5
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20893 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "DEPRECATION WARNING: Passing a path to relative to is deprecated." ↵Go MAEDA2021-04-011-1/+1
| | | | | | | | | (#29914). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20885 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for 4 byte characters (emoji) support (#32054).Go MAEDA2021-03-131-0/+4
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use MiniTest::Assertions#skip to skip tests in RepositoriesControllerTest ↵Go MAEDA2021-03-111-0/+4
| | | | | | when Subversion test repository is not configured (#8875). git-svn-id: http://svn.redmine.org/redmine/trunk@20774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to test/test_helper.rbToshi MARUYAMA2020-09-171-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20048 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add Redmine::Database.sqlite? as with postgresql? and postgresql?Toshi MARUYAMA2020-04-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19711 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove duplicate mysql? and postgresql? logicToshi MARUYAMA2020-04-201-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use CGI.unescapeHTML instead of CGI::unescapeHTML in test/test_helper.rb as ↵Toshi MARUYAMA2020-04-201-1/+1
| | | | | | with previous revision git-svn-id: http://svn.redmine.org/redmine/trunk@19709 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use same "Redmine::Database.mysql?" as with r19706 in test/test_helper.rbToshi MARUYAMA2020-04-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19708 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add test of UTF-8 Emoji committer and comments (#24030)Toshi MARUYAMA2020-04-141-0/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19699 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #media_type instead of #content_type to test the MIME type of a response ↵Go MAEDA2020-01-271-3/+3
| | | | | | | | | (#32886). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Require 'mocha/minitest' instead of deprecated 'mocha/setup' (#32592).Go MAEDA2019-12-111-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19358 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentFirstHashElement in test/test_helper.rbToshi MARUYAMA2019-11-241-2/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19276 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in test/test_helper.rbToshi MARUYAMA2019-11-241-3/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in test/test_helper.rbToshi MARUYAMA2019-11-241-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19250 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/CaseIndentation in test/test_helper.rbToshi MARUYAMA2019-10-141-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18662 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix FrozenError during tests (#32071, #26561).Go MAEDA2019-09-161-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18474 e93f8b46-1217-0410-a6f0-8f06a7374b81
* mail_body method in test/test_helper.rb raises an exception if the message ↵Go MAEDA2019-09-131-1/+1
| | | | | | | | | is not multipart (#32025). This change fixes random test failures. git-svn-id: http://svn.redmine.org/redmine/trunk@18465 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Run test only when GhostScript is available (#22481).Go MAEDA2019-06-021-0/+8
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18221 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from test/test_helper.rbGo MAEDA2019-06-021-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18220 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't rescue Exception class (#31387).Go MAEDA2019-05-251-1/+1
| | | | | | | Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure.Jean-Philippe Lang2018-12-121-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure, assertion must be made against displayed values.Jean-Philippe Lang2018-12-011-1/+6
| | | | | | | | IssuesControllerTest#test_index_sort_by_spent_hours_should_sort_by_visible_spent_hours Expected: [3.0, 0.0, 0.0] Actual: [3.0, 4.0, 0.0] git-svn-id: http://svn.redmine.org/redmine/trunk@17672 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use button as additional option for contextmenu (#26655).Go MAEDA2018-04-211-1/+1
| | | | | | | Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@17298 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-23/+17
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default configuration for the timelog list (#26356).Jean-Philippe Lang2017-07-121-1/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16814 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Create tmp directory on test launch.Jean-Philippe Lang2017-06-011-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16587 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Rails 5 syntax for integration tests.Jean-Philippe Lang2017-06-011-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Rails 5 syntax for functional tests.Jean-Philippe Lang2017-05-311-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16585 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup tests with mock files.Jean-Philippe Lang2017-04-031-19/+28
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16461 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reset locale to "en" before helpers tests.Jean-Philippe Lang2017-01-191-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16232 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reset current user before helpers tests.Jean-Philippe Lang2017-01-191-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16231 e93f8b46-1217-0410-a6f0-8f06a7374b81