summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_nested_set_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r22746 from trunk to 5.0-stable (#40043).Marius Balteanu2024-02-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22756 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/branches/5.0-stable@22014 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
* Allow addition/removal of subtasks to show in parent's history (#6033).Go MAEDA2021-11-081-22/+54
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21273 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
* 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
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 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
* Current user should be nil to prevent ActiveJob::DeserializationError errors ↵Go MAEDA2018-12-061-0/+4
| | | | | | in tests. git-svn-id: http://svn.redmine.org/redmine/trunk@17689 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
* Adds .rebuild_single_tree! to rebuild a single tree (#24167).Jean-Philippe Lang2016-12-211-0/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16111 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
* Don't store total estimated hours on parent issues (#16092).Jean-Philippe Lang2015-05-251-20/+0
| | | | | | Parent can now have its own estimate that is summed up with children estimates. git-svn-id: http://svn.redmine.org/redmine/trunk@14272 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved tests to issue_subtasking_test.Jean-Philippe Lang2015-05-251-20/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14271 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to control done ratio on parent tasks (#5490).Jean-Philippe Lang2015-05-251-34/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14270 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds settings to control start/due dates and priority on parent tasks (#5490).Jean-Philippe Lang2015-05-251-43/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14269 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
* 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
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix race condition of highest rgt at ↵Toshi MARUYAMA2014-03-261-3/+7
| | | | | | Issue#update_nested_set_attributes_on_parent_change (#6579) git-svn-id: http://svn.redmine.org/redmine/trunk@13011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds some test helpers to cleanup tests.Jean-Philippe Lang2014-01-311-62/+58
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed calculation of done_ratio of parent task with child having ↵Jean-Philippe Lang2014-01-311-0/+12
| | | | | | estimated_time at 0 (#15870). git-svn-id: http://svn.redmine.org/redmine/trunk@12745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed debug output.Jean-Philippe Lang2014-01-301-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12740 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r12669 and add a test for #15870.Jean-Philippe Lang2014-01-301-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12739 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* adjust tests to awesome_nested_set new node lft and rgt value behavior changeToshi MARUYAMA2014-01-241-48/+41
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12693 e93f8b46-1217-0410-a6f0-8f06a7374b81
* move awesome_nested_set leaf? modification to config/initializers/10-patches.rbToshi MARUYAMA2014-01-201-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12682 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that issue nested set update is triggered even if parent is not ↵Jean-Philippe Lang2013-10-201-0/+35
| | | | | | changed (#15135). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12226 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test for #14798.Jean-Philippe Lang2013-09-111-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12132 e93f8b46-1217-0410-a6f0-8f06a7374b81
* not use assert_not_nil in Errors#[]Toshi MARUYAMA2013-07-301-2/+2
| | | | | | | | r7593 etc. replaced Rails2 Errors#on. Rails3 Errors#[] always return array. So, Rails3 Errors#[] is always not nil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12070 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Circular loop when using relations and subtasks (#8794).Jean-Philippe Lang2013-03-171-16/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11641 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unused fixtures.Jean-Philippe Lang2013-02-031-6/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11321 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:all) calls.Jean-Philippe Lang2012-12-021-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore non-working days when rescheduling an issue (#2161).Jean-Philippe Lang2012-10-291-1/+1
| | | | | | Weekly non-working days can be configured in application settings (set to saturday and sunday by default). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10747 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed issue_create! helper in favour of Issue.generate!Jean-Philippe Lang2012-10-121-81/+76
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10613 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Isolate the test that actually require non transactional fixtures.Jean-Philippe Lang2012-10-111-25/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10610 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to allow subtasks to belong to other projects (#5487).Jean-Philippe Lang2012-10-101-1/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10587 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecated Issue#move_to_project.Jean-Philippe Lang2012-01-071-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8539 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Deleting a subtasks doesn't update parent's rgt & lft values, ↵Jean-Philippe Lang2011-11-151-0/+14
| | | | | | introduced by r5286 (#9577). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7814 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_moving_an_issue_to_a_descendant_should_not_validate of unit/issue_nested_set_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7617 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test/unit/issue_nested_set_test.rbToshi MARUYAMA2011-10-071-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_creating_a_child_in_different_project_should_not_validate of unit/issue_nested_set_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7594 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from test/unit/issue_nested_set_test.rb.Toshi MARUYAMA2011-08-291-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Error deleting issue with grandchild (#8880).Jean-Philippe Lang2011-07-241-0/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6311 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from unit issue nested set test.Toshi MARUYAMA2011-05-171-53/+53
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5805 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: deleting a parent issue may lead to a stale object error (#7920).Jean-Philippe Lang2011-04-011-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5285 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: subtasks are deleted (not destroyed) when destroying parent issue ↵Jean-Philippe Lang2011-01-221-1/+33
| | | | | | (#7385). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4735 e93f8b46-1217-0410-a6f0-8f06a7374b81