@@ -342,7 +342,7 class IssueTest < ActiveSupport::TestCase | |||||
342 | assert child2.visible?(user) |
|
342 | assert child2.visible?(user) | |
343 | assert_equal 2, parent.descendants.count |
|
343 | assert_equal 2, parent.descendants.count | |
344 | assert_equal 2, parent.descendants.visible(user).count |
|
344 | assert_equal 2, parent.descendants.visible(user).count | |
345 | # awesome_nested_set 2-1-stable has regression. |
|
345 | # awesome_nested_set 2-1-stable branch has regression. | |
346 | # https://github.com/collectiveidea/awesome_nested_set/commit/3d5ac746542b564f6586c2316180254b088bebb6 |
|
346 | # https://github.com/collectiveidea/awesome_nested_set/commit/3d5ac746542b564f6586c2316180254b088bebb6 | |
347 | # ActiveRecord::StatementInvalid: SQLite3::SQLException: ambiguous column name: lft: |
|
347 | # ActiveRecord::StatementInvalid: SQLite3::SQLException: ambiguous column name: lft: | |
348 | assert_equal 2, parent.descendants.collect{|i| i}.size |
|
348 | assert_equal 2, parent.descendants.collect{|i| i}.size |
General Comments 0
You need to be logged in to leave comments.
Login now