add more comment about awesome_nested_set 2-1-stable branch regression

git-svn-id: http://svn.redmine.org/redmine/trunk@12709 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-26 09:10:58 +00:00
parent 38fa36d23b
commit 9941a987e9
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ class IssueTest < ActiveSupport::TestCase
assert child2.visible?(user)
assert_equal 2, parent.descendants.count
assert_equal 2, parent.descendants.visible(user).count
# awesome_nested_set 2-1-stable has regression.
# awesome_nested_set 2-1-stable branch has regression.
# https://github.com/collectiveidea/awesome_nested_set/commit/3d5ac746542b564f6586c2316180254b088bebb6
# ActiveRecord::StatementInvalid: SQLite3::SQLException: ambiguous column name: lft:
assert_equal 2, parent.descendants.collect{|i| i}.size