diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-21 06:29:48 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-21 06:29:48 +0000 |
commit | 962ecabc4767e1c0c3d3ceb1ef18de1edc9d34ba (patch) | |
tree | d3e15d26997653f6e3973300d16bbfbcdfa37a38 /test/unit/project_nested_set_test.rb | |
parent | 94e3eb2b8b2d2cbd45ae5714ab90b5ca7bfe5097 (diff) | |
download | redmine-962ecabc4767e1c0c3d3ceb1ef18de1edc9d34ba.tar.gz redmine-962ecabc4767e1c0c3d3ceb1ef18de1edc9d34ba.zip |
call Project#set_or_update_position_under in Project.rebuild_tree! (#12431)
git-svn-id: http://svn.redmine.org/redmine/trunk@12683 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_nested_set_test.rb')
-rw-r--r-- | test/unit/project_nested_set_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/project_nested_set_test.rb b/test/unit/project_nested_set_test.rb index 6048cd23d..7312d9bd6 100644 --- a/test/unit/project_nested_set_test.rb +++ b/test/unit/project_nested_set_test.rb @@ -50,7 +50,7 @@ class ProjectNestedSetTest < ActiveSupport::TestCase def test_rebuild_should_build_valid_tree Project.update_all "lft = NULL, rgt = NULL" - Project.rebuild! + Project.rebuild_tree! assert_valid_nested_set end |