summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed assertion to see what issues contains (#19106).Jean-Philippe Lang2015-02-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14005 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed Stack level too deep error when calling #find_name_by_reflection for ↵Jean-Philippe Lang2015-02-141-0/+4
| | | | | | missing record. git-svn-id: http://svn.redmine.org/redmine/trunk@14002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed assertions for SQLServer that format dates with MM/DD/YYYY in queries.Jean-Philippe Lang2015-02-081-8/+12
| | | | 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/+19
| | | | | | 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
* Removed :move_issues permission (#18855).Jean-Philippe Lang2015-02-081-4/+4
| | | | | | This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use current user locale to format dates (#19039).Jean-Philippe Lang2015-02-081-23/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renamed test (#18983).Jean-Philippe Lang2015-02-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13967 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed wrong test (#18983).Jean-Philippe Lang2015-02-071-12/+6
| | | | | | Issue was not assigned to the version and assert_equal 1, ActionMailer::Base.deliveries.size was passing because of the issue creation notification. git-svn-id: http://svn.redmine.org/redmine/trunk@13966 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow filtering of Redmine Reminders by Version (#18983).Jean-Philippe Lang2015-02-071-0/+21
| | | | | | Patch by Merul Patel. git-svn-id: http://svn.redmine.org/redmine/trunk@13964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* link_to in Redmine::Hook::ViewListener omits relative url root (#19024).Jean-Philippe Lang2015-02-071-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show long text custom field changes as a diff (#15236).Jean-Philippe Lang2015-01-311-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixturesToshi MARUYAMA2015-01-212-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixturesToshi MARUYAMA2015-01-211-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13932 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixture to test/unit/journal_test.rbToshi MARUYAMA2015-01-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't change Setting.default_language in Mailer tests.Jean-Philippe Lang2015-01-211-24/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtureToshi MARUYAMA2015-01-191-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pin order at RepositoryCvsTest#test_entries_rev3Toshi MARUYAMA2015-01-191-4/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set proper default language.Jean-Philippe Lang2015-01-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set proper locale.Jean-Philippe Lang2015-01-181-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13912 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixturesToshi MARUYAMA2015-01-183-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13911 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix tests (#13120)Toshi MARUYAMA2015-01-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13910 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix assertion order at RepositoryCvsTest#test_entries_rev3Toshi MARUYAMA2015-01-181-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add tests to RepositoryCvsTest#test_entries_rev3Toshi MARUYAMA2015-01-181-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13906 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure that #scm_iconv returns a string with the target encoding (#14534).Jean-Philippe Lang2015-01-181-0/+1
| | | | | | filechanges.find_by_revision_and_path fails with SQLite if arguments are not UTF-8 encoded. git-svn-id: http://svn.redmine.org/redmine/trunk@13902 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixture to Redmine::Hook::ManagerTestToshi MARUYAMA2015-01-181-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Redmine::Activity::Fetcher should consider activity provider ↵Jean-Philippe Lang2015-01-181-0/+60
| | | | | | permission option if given (#18832). git-svn-id: http://svn.redmine.org/redmine/trunk@13895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 4.2.0 (#14534).Jean-Philippe Lang2015-01-177-46/+52
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing fixtures.Jean-Philippe Lang2015-01-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13891 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing fixtures.Jean-Philippe Lang2015-01-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13890 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for multiple email addresses per user (#4244).Jean-Philippe Lang2015-01-176-11/+85
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-11126-150/+150
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Redmine::FieldFormat::IntFormat does not accept "real" Integer values ↵Jean-Philippe Lang2015-01-101-0/+2
| | | | | | (#18781). git-svn-id: http://svn.redmine.org/redmine/trunk@13863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that project copy triggers a 500 error if project validation fails.Jean-Philippe Lang2015-01-071-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Insert children issues to respect same order as ids.Jean-Philippe Lang2015-01-071-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces awesome_nested_set gem with a simple and more robust implementation ↵Jean-Philippe Lang2015-01-072-0/+149
| | | | | | | | 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
* The descendant count in the issues delete confirmation message is wrong if ↵Jean-Philippe Lang2014-12-301-0/+10
| | | | | | issues share some descendants. git-svn-id: http://svn.redmine.org/redmine/trunk@13818 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force UTF-8 encoding of language names.Jean-Philippe Lang2014-12-261-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set en locale in test (#18679).Jean-Philippe Lang2014-12-211-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: LabelledFormBuilder#label outputs 2 label elements (#18679).Jean-Philippe Lang2014-12-211-0/+28
| | | | | | Patch by Masato NODA. git-svn-id: http://svn.redmine.org/redmine/trunk@13786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced "can't" with "cannot" in error messages.Jean-Philippe Lang2014-12-2114-20/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
* PermissionsAttributeCoder.load called twice when mocha expectation is set.Jean-Philippe Lang2014-12-211-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use DOM assertions as attributes order changes from a Rails version to another.Jean-Philippe Lang2014-12-201-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13778 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure that themes are reloaded after test.Jean-Philippe Lang2014-12-201-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrites assertions.Jean-Philippe Lang2014-12-201-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13776 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed that quote in a fixture subject.Jean-Philippe Lang2014-12-204-9/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes test menu item after test.Jean-Philippe Lang2014-12-201-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set locale for error messages.Jean-Philippe Lang2014-12-201-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13772 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reset current user on each test.Jean-Philippe Lang2014-12-201-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13771 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restore accent insensitive search with mysql (#18537).Jean-Philippe Lang2014-12-151-11/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for named route in project menu and a new :permission option (#6426).Jean-Philippe Lang2014-12-142-6/+27
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13765 e93f8b46-1217-0410-a6f0-8f06a7374b81