summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Use assert_nil instead of assert_equal.Jean-Philippe Lang2016-12-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16059 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes calls to #assert_template and #assigns in integration tests.Jean-Philippe Lang2016-07-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes calls to #assert_template and #assigns in functional tests.Jean-Philippe Lang2016-07-181-0/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15695 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a class for testing helpers.Jean-Philippe Lang2016-07-161-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15683 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Pass parameters with :params in controller tests.Jean-Philippe Lang2016-07-161-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15666 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept 5 arguments.Jean-Philippe Lang2016-07-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15665 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Pass parameters with :params in controller tests.Jean-Philippe Lang2016-07-161-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds our own class for controller tests.Jean-Philippe Lang2016-07-141-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15661 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes the test LDAP host configurable (#21674).Jean-Philippe Lang2016-01-221-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Import issues from CSV file (#950).Jean-Philippe Lang2015-08-141-2/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace tab introduced in r14388 in test/test_helper.rb with spaces (#20242).Jean-Philippe Lang2015-07-051-2/+2
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@14412 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that user with "Manage public queries" permission, can create global ↵Jean-Philippe Lang2015-06-291-0/+9
| | | | | | public query (#19842). git-svn-id: http://svn.redmine.org/redmine/trunk@14388 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a configuration setting to enable sudo mode, disabled by default (#19851).Jean-Philippe Lang2015-06-191-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14336 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed assertions for SQLServer that format dates with MM/DD/YYYY in queries.Jean-Philippe Lang2015-02-081-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for accent insensitive search with PostgreSQL (#18801).Jean-Philippe Lang2015-02-081-0/+4
| | | | | | If the unaccent extension is installed, the search engine will use it in order to do accent insensitive search. git-svn-id: http://svn.redmine.org/redmine/trunk@13989 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 4.2.0 (#14534).Jean-Philippe Lang2015-01-171-1/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tab to space at test/test_helper.rbToshi MARUYAMA2015-01-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces awesome_nested_set gem with a simple and more robust implementation ↵Jean-Philippe Lang2015-01-071-9/+2
| | | | | | | | of nested sets. The concurrency tests added in this commit trigger dead locks and/or nested set inconsistency with awesome_nested_set. git-svn-id: http://svn.redmine.org/redmine/trunk@13841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow attachment thumbnails from REST API (#18707).Jean-Philippe Lang2014-12-261-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13806 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for creating an issue with multiple uploads.Jean-Philippe Lang2014-12-221-0/+39
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13791 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced "can't" with "cannot" in error messages.Jean-Philippe Lang2014-12-211-6/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restore accent insensitive search with mysql (#18537).Jean-Philippe Lang2014-12-151-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing test helper (#18537).Jean-Philippe Lang2014-12-141-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13761 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use simplecov for code coverage, rcov does not support ruby>=1.9.Jean-Philippe Lang2014-12-021-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13691 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unneeded patch in tests.Jean-Philippe Lang2014-11-301-11/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13681 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved helpers for integration tests in a specific class.Jean-Philippe Lang2014-11-301-15/+17
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13680 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Pull up #setup and #teardown in API tests.Jean-Philippe Lang2014-11-301-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13679 e93f8b46-1217-0410-a6f0-8f06a7374b81